SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 length of the value in a field
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shemayb
Posting Yak Master

Philippines
159 Posts

Posted - 08/29/2007 :  01:37:16  Show Profile  Send shemayb a Yahoo! Message  Reply with Quote
is there a property in the sql server where i can track the length of the value in a field.

Funnyfrog

SwePeso
Patron Saint of Lost Yaks

Sweden
30106 Posts

Posted - 08/29/2007 :  01:41:00  Show Profile  Visit SwePeso's Homepage  Reply with Quote
1) LEN
2) DATALENGTH



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

shemayb
Posting Yak Master

Philippines
159 Posts

Posted - 08/29/2007 :  01:46:07  Show Profile  Send shemayb a Yahoo! Message  Reply with Quote
what is the format for that?

Funnyfrog
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30106 Posts

Posted - 08/29/2007 :  01:50:28  Show Profile  Visit SwePeso's Homepage  Reply with Quote
I suggest you read about the two function mentioned above, in your future best friend BOOKS ONLINE.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22744 Posts

Posted - 08/29/2007 :  02:36:09  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
FYI, Books OnLine is sql server help file

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000