SQL Server 2000

Discussion in 'Software' started by Panther007, Feb 27, 2004.

  1. Panther007

    Panther007 Private E-2

    I need to write a script that will find all tables that have a certain column field and change the datatype. Ex:
    tblEmployee tblItem tblStore
    NoID, Null NoID, Null NoID, Null
    Address Address Address

    I need to change NoID, Null to Not Null in all three tables. Can this be done with going through every single table one by one? But a nice script that will locate the fields in each table and make the changes. :)
     
  2. Kodo

    Kodo SNATCHSQUATCH

    I'll look for one, I'm sure it can be done. but by the time I find one or write one (and I don't have the time to right now) you could have manually changed the data-type contraints.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds