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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Salt - Passwords?

Author  Topic 

brendalisalowe
Constraint Violating Yak Guru

269 Posts

Posted - 2005-05-13 : 13:03:33
If I am creating a Users table, what data type should 'salt' be?

CREATE TABLE [Users] (
[UserName] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[Password] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Salt] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[FullName] [varchar] (60) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Email] [char] (60) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

Brenda

If it weren't for you guys, where would I be?

X002548
Not Just a Number

15586 Posts

Posted - 2005-05-13 : 13:24:20
That would be a user defined datatype of "margarita"



Brett

8-)
Go to Top of Page

brendalisalowe
Constraint Violating Yak Guru

269 Posts

Posted - 2005-05-13 : 13:26:02
What?

Brenda

If it weren't for you guys, where would I be?
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2005-05-13 : 13:31:32
I know Utah is mostly dry...but salt, margarita, lime...get it?

Anyway what is Salt?



Brett

8-)
Go to Top of Page

brendalisalowe
Constraint Violating Yak Guru

269 Posts

Posted - 2005-05-13 : 13:33:57
Like this: http://www.aspheute.com/english/20040105.asp

Brenda

If it weren't for you guys, where would I be?
Go to Top of Page

JimL
SQL Slinging Yak Ranger

1537 Posts

Posted - 2005-05-13 : 13:48:54
Aha Password paranoia!

From the example looks like INT

Jim
Users <> Logic
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2005-05-13 : 15:11:22
Does your app use connection pooling?



Brett

8-)
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2005-05-14 : 00:01:53
is connection pooling bad?

--------------------
keeping it simple...
Go to Top of Page
   

- Advertisement -