delete a database field?

Results 1 to 2 of 2

Thread: delete a database field?

  1. #1
    Join Date
    Dec 1969

    Default delete a database field?

    I'm using sql7.0 and want to delete a field (i.e., column) in a table (not a row, but a field). What is the syntax in asp to do this? Any help would be appreciated.

  2. #2
    Join Date
    Dec 1969

    Default Here you go

    ObjConn.Execute("Alter Table MyTableName Drop column MyColumnName)

Posting Permissions

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