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.
| Author |
Topic |
|
HelpingOthers
Starting Member
3 Posts |
Posted - 2012-01-03 : 17:03:16
|
| Hi I'm new and haven't contributed to the forums yet but if anyone would be kind to help me with this problem. I have searched everywhere trying to learn how to solve this.I need to create a constraint on a create table that stops the user from entering the letters J,K,L,N in the table called BANK and column UserID. This could be a simple solution but when you don't know how it's difficult and frustrating please help. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
HelpingOthers
Starting Member
3 Posts |
Posted - 2012-01-03 : 17:33:15
|
| ok thanks Tara a lot of useful information on there. I shall go indulge. |
 |
|
|
whatamouth
Starting Member
16 Posts |
Posted - 2012-01-04 : 04:09:21
|
create table BANK ( UserID varchar(10), constraint test_constraint check (UserID not like '%[j-n]%') ) Neil Matiasneilmatias@yahoo.com |
 |
|
|
|
|
|