SQL question

Results 1 to 2 of 2

Thread: SQL question

  1. #1
    Join Date
    Dec 1969

    Default SQL question

    &nbsp;<BR>How would I change a database field from NULL to NOT NULL using a SQL query.<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default SQL answer

    alter table t add constraint columnNotNull check (c is not null)

Posting Permissions

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