KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Create Macro %FullPath_CStyle% to avoid backslash ODBC prob.

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
Bob
Guest





PostPosted: Wed May 04, 2005 7:53 pm    Post subject: Create Macro %FullPath_CStyle% to avoid backslash ODBC prob. Reply with quote

I am trying to log full path names to a mysql database. Backslashes need to be doubled as in \\Root\\Myfolder. This feature would be similar to %Reply_CStyle% macro.

Other workaround suggestions would be appreciated!

Thanks
Bob Roswell
Back to top
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu May 05, 2005 3:40 pm    Post subject: Reply with quote

I know that some SQL servers require double backslash but I am not sure about SQL 92 standard. Trying to find quote... May be you have quote from the manual right on hand?
If \\ is not required by SQL 92, it should be implemented as option.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
bob
Guest





PostPosted: Mon May 09, 2005 8:31 am    Post subject: DOn't know about the standard, but can document Reply with quote

that most systems in real life treat the \ as an escape character.
Back to top
broswell



Joined: 04 May 2005
Posts: 7

PostPosted: Mon Jun 06, 2005 12:08 pm    Post subject: Found a fix for MYSQL Reply with quote

# SERVER SECTION

# ----------------------------------------------------------------------

#

# The following options will be read by the MySQL Server. Make sure that

# you have installed the server correctly (see above) so it reads this

# file.

#

[mysqld]

sql-mode=NO_BACKSLASH_ESCAPE
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index