SQL server and ASP

Results 1 to 2 of 2

Thread: SQL server and ASP

  1. #1
    Join Date
    Dec 1969

    Default SQL server and ASP

    Hello,<BR><BR>I want to put a value into a column but only once.<BR><BR>So if I attempted to insert the same value into the column it wouldn&#039;t let me. I know how to do with with a urn where it increments the number itself but not when I&#039;m specifying the value from asp.<BR><BR>Is this something I need to check before inserting or a sql server thing?

  2. #2
    Join Date
    Dec 1969

    Default RE: SQL server and ASP

    Put a UNIQUE constraint on the column in question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts