|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Re: SQL Humorrchris***@patmedia.net wrote:
> Joe, I use char(9) and a minimal constraint. And a good front end It would be fairly straightforward to change it to a char(10) in the> developer will do things there to ensure only digits and do formatting > and stuff. But the first question I'm wondering about is running out of > space. I suppose the feds could go alpha-numeric; that would nearly > quadruple the available identifiers without changing the length of the > field, but it's still a bandaid. Shouldn't a "good DB designer" be > wondering abou that "9" in the field definition? future if necessary, wouldn't it? Paul. changing a varchar(9) to varchar(10) is supposed to be a snap.
I would not be that optimistic about a change from char(9) to char(10) "AK" <AK_TIREDOFSPAM@hotmail.COM> wrote in message This is DBMS dependent. In Rdb/VMS you can make such an alteration withoutnews:1125067534.738108.209370@g43g2000cwa.googlegroups.com... > changing a varchar(9) to varchar(10) is supposed to be a snap. > I would not be that optimistic about a change from char(9) to char(10) > so much as closing the database. The lock manager serializes it just like any other change. |
|||||||||||||||||||||||