Results 1 to 3 of 3

Thread: field defference between two tables

  1. #1
    Join Date
    Nov 2002
    Posts
    231

    field defference between two tables

    Do you have any sql statement for find the field difference between two tables?.

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    Means compare two tables? Try 'sp_columns table_name' or query information_schema.columns.

  3. #3
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    If you want to find difference in column definiton you have to use syscolumns table to compare column type, precision and scale.

Posting Permissions

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