SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
RCS Keywords in Snippet

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
RCS Keywords in Snippet
Author Message
anildas



Joined: 14 Nov 2007
Posts: 69
Country: United States

Post RCS Keywords in Snippet Reply with quote
I want to have a snippet with RCS keywords:
Code:

/*
 * $File$
 * $Revision$
 * $Date$
 * $Change$
 * $Author$
 */


SQL Assistant strips the dollar signs and converts Date to the current date:
Code:

/*
 * File
 * Revision
 * 1/13/2012
 * Change
 * Author
 */


Can I get SQL Assistant to insert my snippet without modfication? How?[/quote]
Fri Jan 13, 2012 6:24 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
$DATE$ is a macro in SQL Assistant which it replaces with the system date value. You would need to avoid using that name directly, but you can still concatenate it from pieces to escape the name match, something like this
Code:
$$
SELECT '/*
 * $File$
 * $Revision$
 * $' + 'Date$
 * $Change$
 * $Author$
 */'
$$

Fri Jan 13, 2012 6:55 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 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
Design by Freestyle XL / Flowers Online.