asked on
ASKER
Declare @fruit varchar(10) = 'banana'
-- Your code goes here
SELECT * FROM fruit_bins WHERE fruit_type = @fruit
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
The experts told me “you can’t do that”. What do I do now?
Last Updated: May 29, 2013 03:00PM PDT
Sometimes, the unfortunate truth is that what you’re asking isn’t possible. While “you can’t do that” is never what an asker wants to hear, that doesn’t make it any less true. If the experts tell you that what you’re trying to accomplish isn’t possible, they are still giving you a correct answer, so make sure you close your question properly by awarding points to the expert who provided this answer.
Microsoft SQL Server 2008 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. Major improvements include the Always On technologies and support for unstructured data types.
TRUSTED BY
You'll have to do this in whatever front-end application you are using, then take that value and include it as a parameter in a SP, or part of a WHERE clause in a front-end-executed SQL statement.