How do you create a variable of scope EnvVariable?

爷,独闯天下 提交于 2019-12-13 06:44:12

问题


How do you create a variable of scope EnvVariable as shown in this screenshot

of this StackOverflow Answer?


回答1:


The scope usually represents the Package name or a Control Flow task name. Here in this case, EnvVariable represents the package name. Refer screenshot #4. To create a variable, follow the below mentioned steps.

  1. Right-click on the package and select Variables. Refer screenshot #1.
  2. On the Variables pane, click the first icon to create a variable. Refer screenshot #2.
  3. By default, the variable will be named Variable. Change the name to FilePath.
  4. By default, the variable data type will be Int32. Change the data type to String.
  5. You can also access the Variables pane from SSIS menu --> Variables. Make sure that you click on the package. Otherwise, the options won't be visible. Refer screenshot #3.

Hope that helps.

Screenshot #1:

Screenshot #2:

Screenshot #3:

Screenshot #4:



来源:https://stackoverflow.com/questions/6227138/how-do-you-create-a-variable-of-scope-envvariable

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!