Viewing 4 posts - 31 through 34 (of 34 total)
Hi,
You just have to double up the ' as in
select * from test where data = 'O''Connor'
If you are creating the statement dynamically from say a web page you...
September 18, 2004 at 12:16 pm
Hi,
I generally stick to the 'fully normalised' solution if there is any doubt as it provides the most flexibility regarding how the data will be used. if you create a...
September 18, 2004 at 10:24 am
Don't drop the index!
If SQl server is ising it then it must be of use.
The most likly reason is that the query only requires these three columns form the table....
September 18, 2004 at 9:55 am
Yes you can do this but It isn't very efficient so you should take care where you use it.
Example:
Select a.col1, b.col1, etc...
from TableA a
join TableB b
on a.col1 like '%' + b.col1...
September 18, 2004 at 9:16 am
Viewing 4 posts - 31 through 34 (of 34 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy