Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Insert fields with a ' in them
Message
From
02/06/2015 11:56:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01620334
Message ID:
01620504
Views:
49
>>I think this, you think that - but the actuality would have to be tested. Don't have the profiler on this machine.
>
>I'm 99.999% sure the conversion to N(17,0) in VFP will do nothing.

But then what's the problem? There's no float or other... the parameter passed is represented as a string in the insert command sent anyway. You'd have a

cast(@p15 as numeric(17,0))

and the @15 will be mentioned as ...,12345.5494850,... in the parameter list.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform