Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question on INSERT VALUES

Status
Not open for further replies.

NavMen

Vendor
Jul 6, 2004
35
NL
Hi All,

I'm trying to put this String: CONTAINS('""*aco"" NEAR ""*EVIN""')[/color red] into a table.

Using: Insert Into POL_POLICY(POL_QUERY) Values ('CONTAINS ('""*aco"" NEAR ""KEVIN""') ')

Doesn't work, what must I do to get it right....!!

Maybe it is easy but I don't see it anymore :-(

Thanks,

Navmen
 
You need to double the single-quotes.

Code:
 Insert Into POL_POLICY(POL_QUERY) Values ('CONTAINS ([!]''[/!]""*aco"" NEAR ""KEVIN""[!]''[/!]) ')



-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top