Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need translation of basic foxpro commands into T/SQL
Message
From
04/09/2009 20:34:37
Walter Meester
HoogkarspelNetherlands
 
 
To
04/09/2009 10:34:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01422348
Message ID:
01422756
Views:
48
>>Well basically I don't have the authority to upgrade the SQL servers...Those are the clients responsibility... BTW, if you want to create serverside cursors (SELECT * INTO #CURSOR FROM ...), you cannot even use parameters. I know the risk of SQL injection is serious and we use paramerters where applicable, but there are circumstances where we simply cannot use them and are doing what we can to prevent SQL injection.
>
>Sorry I don't understand what you mean by "(SELECT * INTO #CURSOR FROM ...), you cannot even use parameters". I can. I really don't know a case where I can't use parameters (and there are even ways to pass 2100 parameters limit by passing say a string or xml to be parsed - for example IN query implementation via string is efficient and fast), there might be.
>Cetin

By using parameters it is executing the sp_executeSQL stored procedure within its own transaction. Any temporary table created is released as soon as the transaction completes.
Previous
Reply
Map
View

Click here to load this message in the networking platform