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

'Q'+substring(datename(m,Dateadd(ms,-3,Dateadd(qq, Datediff(qq,0,GetDate()), 0))),1,3) +''''+ substring(cast(datepart(yyyy,Dateadd(ms,-3,Dateadd(qq, Datediff(qq,0,GetDate()), 0))) as varchar),3,2)

$
0
0

Hi All

 

While am trying to run the above SQL in BODS Scirpt am finding a Syntax Error.

 

Can any help.

 

ODBC data source(DDTCSQL31.fremont.lamrc.net) error message for operation(SQLExecute): ([Microsoft][SQL Server Native Client 11.0 [SQL Sserver] Incorrect syntax near','.

 

 

 

regards

Karthik


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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