Click here to Skip to main content
15,899,935 members
Home / Discussions / Database
   

Database

 
GeneralRe: running out of swimming *pool* space..... ??? Pin
WetRivrRat27-Jan-06 10:15
WetRivrRat27-Jan-06 10:15 
QuestionHow to sort a column in data grid: Pin
kenn_rosie26-Jan-06 4:32
kenn_rosie26-Jan-06 4:32 
AnswerRe: How to sort a column in data grid: Pin
S Douglas30-Jan-06 22:48
professionalS Douglas30-Jan-06 22:48 
QuestionLimits on SQL Statements Pin
BadKarma26-Jan-06 1:38
BadKarma26-Jan-06 1:38 
AnswerRe: Limits on SQL Statements Pin
Dave Kreskowiak26-Jan-06 7:06
mveDave Kreskowiak26-Jan-06 7:06 
GeneralRe: Limits on SQL Statements Pin
BadKarma27-Jan-06 3:14
BadKarma27-Jan-06 3:14 
GeneralRe: Limits on SQL Statements Pin
Dave Kreskowiak27-Jan-06 18:06
mveDave Kreskowiak27-Jan-06 18:06 
GeneralRe: Limits on SQL Statements Pin
BadKarma30-Jan-06 3:12
BadKarma30-Jan-06 3:12 
First of all thanks for your time too reply.

The queries i execute look like this:
UPDATE MyTable SET MyField = 1 WHERE Data = 1;
UPDATE MyTable SET MyField = 1 WHERE Data = 2;
UPDATE MyTable SET MyField = 1 WHERE Data = 3;
UPDATE MyTable SET MyField = 1 WHERE Data = 4;

this goes on up until Data reaches 1000.
So like you can see the size of the query is relative small not even 50 characters.
The batch statement though, can reach the size of more the 20k of characters but shouldn't be
a problem because the max bacth size is 65536 * network packet size (see response from Sl0n[^])

When I execute this batch to an limit of 455 queries, there is no problem. The size of this batch is over 8192 byte limit (its arround 18K). When I add more queries to the bacth every query past this 455 limit just doesn't get executed and the batch statement is returned as a success.

So even though I stay well under the limits, those queries aren't executed ???
Or do I miss something?



codito ergo sum
GeneralRe: Limits on SQL Statements Pin
Dave Kreskowiak30-Jan-06 5:44
mveDave Kreskowiak30-Jan-06 5:44 
AnswerRe: Limits on SQL Statements Pin
AntonGogolev26-Jan-06 23:05
AntonGogolev26-Jan-06 23:05 
Questionusing DataTable in place of DataSet Pin
Himalay Oza25-Jan-06 3:38
Himalay Oza25-Jan-06 3:38 
AnswerRe: using DataTable in place of DataSet Pin
Paul Conrad25-Jan-06 6:28
professionalPaul Conrad25-Jan-06 6:28 
Questiondataview and databinding ? Pin
Isabel oliveira24-Jan-06 14:40
Isabel oliveira24-Jan-06 14:40 
QuestionImport Cast Error in SQL Server 2005 Pin
Tiger45623-Jan-06 18:55
Tiger45623-Jan-06 18:55 
Questiontable construction/design question Pin
Jim Crafton23-Jan-06 15:36
Jim Crafton23-Jan-06 15:36 
AnswerRe: table construction/design question Pin
Rob Graham23-Jan-06 17:14
Rob Graham23-Jan-06 17:14 
GeneralRe: table construction/design question Pin
Jim Crafton24-Jan-06 2:47
Jim Crafton24-Jan-06 2:47 
GeneralRe: table construction/design question Pin
Jim Crafton26-Jan-06 16:20
Jim Crafton26-Jan-06 16:20 
GeneralRe: table construction/design question - RESOLVED Pin
Jim Crafton26-Jan-06 17:54
Jim Crafton26-Jan-06 17:54 
AnswerRe: table construction/design question Pin
Damodar Periwal24-Jan-06 12:53
Damodar Periwal24-Jan-06 12:53 
GeneralRe: table construction/design question Pin
Jim Crafton24-Jan-06 15:35
Jim Crafton24-Jan-06 15:35 
GeneralRe: table construction/design question Pin
Damodar Periwal24-Jan-06 15:46
Damodar Periwal24-Jan-06 15:46 
QuestionHow to send email on perticular date and time? Pin
vicky45723-Jan-06 13:57
vicky45723-Jan-06 13:57 
AnswerRe: How to send email on perticular date and time? Pin
Qaiser Mehmood Mughal24-Jan-06 3:33
Qaiser Mehmood Mughal24-Jan-06 3:33 
GeneralRe: How to send email on perticular date and time? Pin
vicky45724-Jan-06 6:58
vicky45724-Jan-06 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.