|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SQL upper case
Hello !!
Just a small problem iam inserting data in ms sql server through ASP and i want to convert the data into upper case, i really dont remember the exact syntax, please some one tell me how can i do it. below is small code. Thanks in advance. Code:
SqlInsertInfo="Insert into table (FirstName,LastName) Values ('" & strFname & "','" & strLname & "')"
how can i convert first and last name to uppercase. ~Khan |
|
#2
|
|||
|
|||
|
Since it appears you're using VB, try
SqlInsertInfo="Insert into table (FirstName,LastName) Values ('" & UCase(strFname) & "','" & UCase(strLname) & "')"
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Thanks Doug... its working fine.
~Khan |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > SQL upper case |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|