| |

VerySource

 Forgot password?
 Register
Search
View: 921|Reply: 4

How to use variables in ssis? Which expert can advise me? ? ?

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-10 19:30:02
| Show all posts |Read mode
How to use variables in ssis?
   Is it used by package configuration? There are many questions about SSIS!
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-7-3 13:00:02
| Show all posts
It can be accessed through the code at the beginning of dts. in the script task. Let me give you an example tomorrow!
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-7-17 23:00:02
| Show all posts
Dts.Variables("variable_name").Value.ToString()
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-7-25 23:30:01
| Show all posts
Thank you for your help. I have also debugged the use of variables configured with the package. Through the package configuration, you can use the parameters in sql. It is very convenient to read the configuration of this package every time the package runs.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-25 23:15:01
| Show all posts
There are global variable settings in SSIS. It also has scope settings. May be obtained by the following statement
Dts.Variables("variable_name").Value.ToString()
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list