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-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Yesterday @ 10:21 AM
Points: 197, Visits: 4,400
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: Today @ 11:52 AM
Points: 41,530, Visits: 34,446
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