-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: Star_Venkat
Message 1 in Discussion
Lets see some interesting facts in SQL Server. Today we will see pattern
matching concept in SQL Server.
I have tried to create a table name VenkatTable and inserted some rows into it,
create table VenkatTable( Col1 varchar(5) )
insert into VenkatTable values('_Sas')
insert into VenkatTable values('Sas_')
insert into VenkatTable values('S_us')
insert into VenkatTable values('Sas')
insert into VenkatTable values('Sa_s')
Now I need to fetch the data as per the below condition,
select * from VenkatTable where Col1 Like '%Sa_%'
Without executing the above code. Can you tell the number of rows retrieved by
the above query?
OOps wondering, Check for the reason,
http://venkattechnicalblog.blogspot.com/2008/08/string-pattern-matching-in-sql-server.html
Happy Learning!!!
Regards,
Venkatesan Prabu .J
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]