Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is this default value?
Message
From
20/08/2012 22:51:52
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01550862
Message ID:
01550863
Views:
49
>Hi,
>
>I have a table that some time ago was converted from the VFP database using VFP wizard. One of the fields (type char(1)) has the default set to dbo.dfit_eq_file_in_service (the name of the table is eq_file and the field name is "in_service"). I know I need to change this default to a literal. But where do I see the value of this ".dfit_eq_file_in_service"? TIA

Right click the table in the object explorer in SSMS and go to design mode. That will let you see and set the properties for any column. Can change the defaults there.

A quick way to see what defaults are set is to right click the table and pick script create to new query. You can then see easily all defaults, constraints etc.


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Reply
Map
View

Click here to load this message in the networking platform