Hello,
I am using SQL Server 2008 R2 and migrating my database from Oracle to SQL Server. It has a concatenation code which contains single quoted text which contains dot due to which it is throwing an error when ran in SQL Server.
Below is the part of query where such single quoted text is used.
ALLOCATIONFLAG, SPEC, SPEC_ISSUE, SPEC + ' Iss. ' + SPEC_ISSUE AS SPEC_FULL, C_CAC_ID, C_MAJ + '.'+ C_MIN AS AIP_IP, N_MAJ + '.' + N_MIN
This is actually a simple select statement which is running correctly in oracle. I have investigated this and noticed that the dot inside the sigle quoted text creating the issue. When I remove the dot it will execute without any issue.
Since this is migration of the database I could not remove the dot from the query.
Can some one kindly suggest some solution for the same?
Best Regards, Chetan Navale | Atos India | chetan.navale@hotmail.co.in | +91-9373364792