Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is this default value?
Message
De
20/08/2012 22:51:52
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01550862
Message ID:
01550863
Vues:
48
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform