Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is this default value?
Message
 
 
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:
01550880
Vues:
22
>>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
>
>This is a user defined type and as we discussed this recently, this type of constants is being deprecated and the syntax to create them uses bind default. You better remove it and create the normal constant instead of the type.

First, thank you all for your messages.

Yes, I understand that these default constants are being deprecated. And I know what value gets inserted into the column. And I see in the design mode this default value as .'dflt_eq_file_in_service'. My question is where in the database this default is stored? That is, during the initial conversion of VFP to SQL Server, the VFP Wizard created this default and named it 'dflt_eq_file_in_service' with has a value of 'Y' and stored it somewhere. But where? (I am changing this constant but just curious of what happened before).
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform