Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quick SQL/.Net Question
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01192408
Message ID:
01194880
Views:
10
>Does anyone know what the limit (if any) the text is that you can pass to the Command object for SQL queries? Basically, I wanted to add the ability to take a script file that may have any combination of CREATE, ALTER, INSERT, DELETE, etc... commands and process them all. Problem is that I have no clue how big these script files may get...they could theoretically get pretty big, and I was curious what the sting limit was that I can pass was.
>
>Also...has anyone else attempted to do a similar thing as this in their apps..I mean allowing you app to accept script files and process them against a SQL database?

You should have a CRUD level SP for each version of CRUD requests. Now you can STOP access to your tables from Selects within SQL Server or Excel,... and only via SPs.

CRUD = Create, Read, Update, Delete.

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform