Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Setting expression value for a variable

$
0
0

How can I set the following value of a variable :

Also, how can I set the below command as a variable value using expression.

BULK INSERT + @[User:Table]
   FROM
@[User:Path]
   WITH
     
(
         FIELDTERMINATOR
=' |',
         ROWTERMINATOR
=' |\n'
     
)

I am getting some errors .

I tried "BULK INSERT" + @[User:Table] +
"FROM" + @[User:Path]
 + " WITH
     
(
         FIELDTERMINATOR
=" + "' |'" + ",
         ROWTERMINATOR
="+ "' |\n'" +
      "
)"

It is not working.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>