Jeff,
You could drop the table (Drop table calls) and then rebuild JUST that
table by using just the calls piece of the INSTTABS.SQL (of course
after modifying it)...
or cut and paste..
/****** Object: Table dbo.Calls Script Date: 11/22/95 9:30:42 PM
******/
CREATE TABLE Calls
(
NASIdentifier varchar (16) NOT NULL ,
NASPort int NOT NULL ,
AcctSessionID varchar (14) NOT NULL , <==== changed
AcctStatusType tinyint NOT NULL CONSTRAINT pk_Calls PRIMARY KEY
(NASIdentifier, NASPort, AcctSessionID, AcctStatusType),
CallDate smalldatetime NOT NULL ,
UserName varchar (32) NOT NULL ,
UserService tinyint NULL ,
AcctDelayTime int NULL ,
AcctSessionTime int NULL ,
FramedProtocol int NULL ,
FramedAddress varchar (16) NULL ,
AcctInputOctets int NULL ,
AcctOutputOctets int NULL ,
AcctTerminateCause tinyint NULL ,
NASPortType tinyint NULL ,
NASPortDNIS varchar (10) NULL
)
GO
Dale has a neat trick for this so long as the field is not a keyfield or
nonulls column - rename the existing field to an old name and then
create the new column with the proper attributes...
-- Jeff AlbrightPresidentDynasty Online, Inc.http://www.Dynasty.Net