February 21, 2006 at 5:15 pm
Also how to insert with quotes like 'Mann'ys Pizza'
Insert Locations
(L_ID, LocationName,...)
Values(1023, 'Mann'ys Pizza')
February 21, 2006 at 6:07 pm
Try using QUOTENAME().
February 21, 2006 at 7:09 pm
Like this?
Insert Locations
(L_ID, LocationName,...)
Values(1023, QuoteName(Mann'ys Pizza))
February 21, 2006 at 7:33 pm
Even QUOTENAME comes up with the same problem...
When you want to make a single quote part of the text to be inserted, you have to use two of them side by each...
INSERT INTO Locations
(L_ID,LocationName,...)
Values(1023,'Manny''s Pizza',...)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 21, 2006 at 9:10 pm
Thanks All!
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply