Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting date into sql or firebird;What is .t. value in SQL
Message
From
17/09/2005 08:07:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Inserting date into sql or firebird;What is .t. value in SQL
Miscellaneous
Thread ID:
01050571
Message ID:
01050571
Views:
70
when inserting date or logical value using SQL Passthrough, these generate error:
?sqlexec(nHandle,'INSERT INTO X (date) values ({01/01/2005})')
?sqlexec(nHandle,'INSERT INTO X (Boolfield) values (.t.)')

what are the equivalent date representation such as:
VFP: {01/01/2005}
MSSQL: '01/01/2005' ?
FIREBIRD: ?
or logical 'true' representation such as
VFP: .t.
MSSQL: ?
FIREBIRD:?

?sqlexec(nHandle,'SELECT * from X where boolfied=.t.') &&error
?sqlexec(nHandle,'SELECT * from X where .f.') &&to just get the structure
Next
Reply
Map
View

Click here to load this message in the networking platform