|
-
Jul 12th, 2000, 01:20 PM
#1
Thread Starter
Addicted Member
I have an SQL database, which has a table that has constraints on the data that can go in. (ie constrain is that numbers must be between 4000-4999).
what i would like to do, is find out the contraint programatically from ASP. can this be done?
the reason i want to do this, is so that if the user enters bad data, i don't want a bad ADO error thrown...
and i don't want to do client side validation, because the constraint may change....
please let me know if/how it can be done!
dvst8
Secret to long life:
Keep breathing as long as possible.
-
Jul 14th, 2000, 11:35 AM
#2
Junior Member
Have you tried the ado schema or the adox methods to get the ..... oops! meeting time , I'll be back .....
-
Jul 14th, 2000, 03:15 PM
#3
Thread Starter
Addicted Member
i posted the solution that i implement in the Database development forum. i don't think this is the optimal way of doing it...but it works!!
if you know of other ways, i'd be interested in hearing them.
i don't know anything about schema or adox....
Secret to long life:
Keep breathing as long as possible.
-
Jul 14th, 2000, 03:30 PM
#4
New Member
You can use ADO OpenSchema to get table constraints. Please read MSDN library for detailed information.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|