Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Site Related Forums
 Site Related Discussions
 Member Name Length

Author  Topic 

X002548
Not Just a Number

15586 Posts

Posted - 2006-01-27 : 15:56:00
Just Curious, what's the length of the member name column in the database...not the surrogate key



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2006-01-27 : 19:24:50
Thinking about changing to a globally unique member name?


select
MyNewMemberName =
'0x'+left(replace(newid(),'-',''),35)



MyNewMemberName
-------------------------------------
0x5E12B98E71354776B9281CE447F35FA2

(1 row(s) affected)





CODO ERGO SUM
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2006-01-30 : 13:51:22
Nah,

designing a new intranet site for the company. The requirement called for a 30 byte name. I making the key to a user profile table and was wondering if that might be too big

Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam
Go to Top of Page

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2006-01-30 : 13:54:48
I think the forum software allows fifty or maybe seventy-five characters. Something large like that.

===============================================
Creating tomorrow's legacy systems today.
One crisis at a time.
Go to Top of Page
   

- Advertisement -