Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set parameter in scheduled job step 1

Status
Not open for further replies.

Skittle

ISP
Sep 10, 2002
1,528
US
I have an Integration Services package with a package wide user string variable.

I want to set the variable in a SQL Agent job.
There is a tab for 'Set Values' which hs a field for 'Property Path' and 'Value'.

What is the syntax for te 'Property Path'?

I have tried MyVariableName on its own.
I have tried User::MyVariableName.

Both are ignored.
Am I missing something obvious?

Dazed and confused
 
On the books on line the syntax for the property path is the same that the dtexec utility. (in the command line tab, it generates the command line with the property)

The sintax is:

\Package.Variables[User::Variable].value


In Microsoft forums I see another way:

Package.Variables[User::Variable].Properties[Value]

I read also in Microsoft forums there's a bug and all of this don't work before sp2 of SQL Server 2005

But I've got the SQL Server 2005 SP2 and I proved all the ways and I still can't see it works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top