sqlserver tsql variables '?'

spsun
spsun used Ask the Experts™
on
Hello Experts:

I am trying to understand:
 
DECLARE @Destination VARCHAR(1000)
 Set @Destination =?
 Select ?=@Destination+[Filename] from @FTable where [Filename] not in ( select statement)
 
what does Set @Destination =?      mean

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Paul JacksonSoftware Engineer
Top Expert 2011
Commented:
The ? is a placeholder, the value of the placeholder is then defined in the Select ? = .. statement that follows
Technology Development Consultant
Commented:
might this code is from BI(SSIS)

here ? is the parameter which you have added parameters in execute sql task.

if you will check parameters
parametername 0 for 1st ?
parametername 1 for 2nd ?
.
.
.
Regards.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial