Link to home
Start Free TrialLog in
Avatar of plucenko
plucenkoFlag for Afghanistan

asked on

SQL Parameter Label Issue

If I have a Paramater setup for example

declare @Bucket1 integer
set @Bucket1=30

and I have a query

select ABC as  'label' + @Bucket1   from   CBA
I want the label to be...  label 30 ?
SOLUTION
Avatar of tim_cs
tim_cs
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of plucenko

ASKER

tim_cs - when i run it, I get Incorrect syntax near '+'
Tim_cs any ideas?
Avatar of Steve Wales
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.