|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Check constraint help
hi guys
I am new to oracle.How do i check that my phone number have only 10 digits. Thanks Cheers |
|
#2
|
|||
|
|||
|
I would suggest validating your input through your scripting language before it reaches the database.
__________________
"A pawn is the most important piece on the chessboard -- to a pawn" |
|
#3
|
|||
|
|||
|
CHECK(LENGTH(TRIM(phone)) = 10)
|
![]() |
| Viewing: Dev Articles Community Forums > Databases > General SQL Development > Check constraint help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|