|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
String function query
i have a table of following structure
Names Raj Kumar Pradeep Kumar Syam Sundhra Javagal Srinath Pandit Ravishankar I need a query with output as follows Names RK PK SS JS PR |
|
#2
|
|||
|
|||
|
Hi,
Try the following query select left(Column_Name,1)+substring(Column_Name,charinde x(' ',Column_Name)+1,1) from Table_Name Cheers, Satish Kumar J. |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > String function query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|