-
5th February 2010, 06:01 PM
#11
Senior Member
Diamond Hubber
Originally Posted by
Raikkonen
i don't have any servers installed at my home..
i will try to read and understand this at office
enNa try paneenghala
r u SQL server Developer?? I am one
Om Namaste astu Bhagavan Vishveshvaraya Mahadevaya Triambakaya Tripurantakaya Trikalagni kalaya kalagnirudraya Neelakanthaya Mrutyunjayaya Sarveshvaraya Sadashivaya Shriman Mahadevaya Namah Om Namah Shivaye Om Om Namah Shivaye Om Om Namah Shivaye
-
5th February 2010 06:01 PM
# ADS
Circuit advertisement
-
5th February 2010, 06:29 PM
#12
ileeng sorry..
i'm more into network/web programming.
just got the mcse cert.. but not very familiar with sql server.
-
5th February 2010, 06:46 PM
#13
Senior Member
Diamond Hubber
Originally Posted by
Raikkonen
ileeng
sorry..
i'm more into network/web programming.
just got the mcse cert.. but not very familiar with sql server.
Oh cool. so u can do java scripting and .net programming right , if i have any doubts i shall ask, cos .Net & sql server are highly integrated , they work very closley
Om Namaste astu Bhagavan Vishveshvaraya Mahadevaya Triambakaya Tripurantakaya Trikalagni kalaya kalagnirudraya Neelakanthaya Mrutyunjayaya Sarveshvaraya Sadashivaya Shriman Mahadevaya Namah Om Namah Shivaye Om Om Namah Shivaye Om Om Namah Shivaye
-
5th February 2010, 06:54 PM
#14
cool..
i haven't worked with java for some years now. i can do the applets etc.. almost in advanced stage.
ya. i'm working in net environment.
-
5th February 2010, 08:22 PM
#15
Senior Member
Diamond Hubber
Raiks
aama neenga enna 'Diamon' smuggling busniess panrEla?? Diamon hubber nu title kudithirukuranga
Om Namaste astu Bhagavan Vishveshvaraya Mahadevaya Triambakaya Tripurantakaya Trikalagni kalaya kalagnirudraya Neelakanthaya Mrutyunjayaya Sarveshvaraya Sadashivaya Shriman Mahadevaya Namah Om Namah Shivaye Om Om Namah Shivaye Om Om Namah Shivaye
-
1st March 2010, 09:56 PM
#16
Senior Member
Diamond Hubber
Hi
I have SQL table with a customer table in SQL server , having columns (name, lastname)
the last name contains values like (o'corner, o'brian) how would i search for these records iusingT-SQL
Select * from customers
where lastname like 'O'coner%'
it does not work cause of the single quote bewteen O and C... any way round it?
Raiks??
Om Namaste astu Bhagavan Vishveshvaraya Mahadevaya Triambakaya Tripurantakaya Trikalagni kalaya kalagnirudraya Neelakanthaya Mrutyunjayaya Sarveshvaraya Sadashivaya Shriman Mahadevaya Namah Om Namah Shivaye Om Om Namah Shivaye Om Om Namah Shivaye
-
1st March 2010, 10:37 PM
#17
Senior Member
Diamond Hubber
Add another apostrophe. Something like,
Code:
select * from customers
where lastname like 'O''CORNER%'
-
1st March 2010, 10:40 PM
#18
Senior Member
Platinum Hubber
-
1st March 2010, 10:41 PM
#19
Senior Member
Platinum Hubber
To add to Nerd's post, if you're going to call the sql from a webpage etc, this kind of concatenation could pose sql-injection threat and this link gives a solution for that :
http://it.toolbox.com/wiki/index.php...SQL_queries%3F
-
1st March 2010, 10:53 PM
#20
Senior Member
Diamond Hubber
Originally Posted by
Nerd
Add another apostrophe. Something like,
Code:
select * from customers
where lastname like 'O''CORNER%'
Danks Nerd
Om Namaste astu Bhagavan Vishveshvaraya Mahadevaya Triambakaya Tripurantakaya Trikalagni kalaya kalagnirudraya Neelakanthaya Mrutyunjayaya Sarveshvaraya Sadashivaya Shriman Mahadevaya Namah Om Namah Shivaye Om Om Namah Shivaye Om Om Namah Shivaye
Bookmarks