Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

get syntax error in grant select on MS SQL Server

$
0
0

I'm trying to use the sql function to pushdown a grant select on TABLE to USER command and have tried many variations.

 

The problem is that the back slashes aren't being recognized and are stripped out before hitting the DB.

 

sql('SQLTest_SQLTest_Target', 'grant select on "dbo"."TREPORTING_MASTER_WEEKLY" to "VALUEOPTIONS\\smarmul"');

 

any suggestion are appreciated.

 

Thanks!

 

Scott


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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