Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

sql doubut Expand / Collapse
Author
Message
Posted Wednesday, January 23, 2013 9:13 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, September 12, 2014 2:11 AM
Points: 211, Visits: 4,540
hi friends i have small doubt in sql server plz tell me how to solve this one

i have a table that table contains data types id is int & name is varchar(50) sal is int and table contain data like
id , name , sal
10 ,srinivas ,1000
11 ,ravikumarrao ,2500
12, jaidpanlikumarrkjdd,25600
14,fdkvenukumargaddjd,1400

i want output those name size is below 15 bytes size records showing .how we write query in sql server
Post #1410666
Posted Wednesday, January 23, 2013 9:21 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 6:05 AM
Points: 40,258, Visits: 36,681
Look up the LEN function in Books Online.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1410670
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse