Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modify
Message
From
01/10/2001 10:11:04
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Modify
Miscellaneous
Thread ID:
00562475
Message ID:
00562509
Views:
17
Vlad if the table has records you cannot add the field as NOT NULL unless you provied a default value for the field.
>Hi!
>
>When you want to do this programmaticall, run command ALTER TABLE, for example, "ALTER TABLE MyTable ADD MyField int NOT NULL".
>
>When you whant to do this manually in the Enterprise Manager for SQL Server, right click on the table, select 'Design', then in the list of fields add the field you need, save.
>
>HTH.
>
>>Hi All:
>> How can I modify that table in a Sql Server if the selected table is not empty. I.E. I am trying to add an extra field to the table on Sql Server that alreday has records in it.
>>Thanks
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform