Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Problem with Backslash.

Author  Topic 

rajveerg22
Starting Member

4 Posts

Posted - 2007-11-03 : 01:42:34

Hi Every One,
Thanks for reading this query...
In my java application....Iam inserting some encrypted data into SQL Server database, But when the encrypted data contains characters like "\" and "'" at the end of the encrypted value its giving the error as incorrect syntax near "\" or "'" or "=". Means the query is ending when these characters encountered in the field value of the inserting query and giving the above error...please any one helpme to solve the problem....

Ex: insert into aaaa values(',�'&\',',�'&\');
please give the best concept the above query...

thanks for Ur reply....
rajveerg@gmail.com



BUJJI.

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-11-03 : 02:30:46
Duplicate of http://sqlteam.com/forums/topic.asp?TOPIC_ID=92028

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -