Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i stop auotmatic value updation while import to SQL
Message
From
09/11/2005 02:29:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How can i stop auotmatic value updation while import to SQL
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01066687
Message ID:
01066687
Views:
64
Dear Experts,

I just import a Vfp table having 'DATE' data field from Vfp to SQL server.
then i browse the VFP table i can see data and empty date field showing like ' / / : : AM'
fine its ok,

But, after importing this table in to sql server the date filed in the server table showing
'12:00:00 AM' for empty date fields and there is no problem for the date field having values.

Here i m facing problem is that i have report based on empty date filed, if the date filed is
empty i want print 'Unknown dates ' and if having value just print the date.

Here i can't check with Empty() Or Isdate() Or Len() function, Is there anyway other than this
to check the date field is empty or not ?. Or How i will i stop automatic storing values like this
while importing data from Vfp to Sql Server.

Secondly, Can anybody tell me SQL equalnt command of vfp's dDate = CTOD(' / / ')

Thanks in advance
Regards
Abdulla
Next
Reply
Map
View

Click here to load this message in the networking platform