Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type conversion required is invalid
Message
From
11/08/2003 15:36:55
 
 
To
11/08/2003 15:14:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00818905
Message ID:
00819112
Views:
11
>Aleksey
>
>Thank you so much. It seems I have to convert the datatype in SQL Server, giving up using 'bit' and switching to Integer. I have to keep mssql and mysql database synchronized, so I think that's the way.
>
>Thanks again.
>

Hi Grigore,

There is no need to change the table schema, you can simply use CAST or CONVERT functions in your SELECT statement.

Thanks,
Aleksey.

>
>>
>>Take a look into "Data Type Conversion Control" topic in VFP8 help. It says that you can not do this on VFP side, but you can force SQL Server to return integer field by performing conversion on its side.
>>
>>>I can't post a repro code, because I did all those things in Command window.
>>>
>>It is not like I still need a repro. But, doesn't copy/paste works in Command window?
>>
>>Thanks,
>>Aleksey.
Previous
Reply
Map
View

Click here to load this message in the networking platform