August 22, 2012 at 9:41 pm
I knew there is a limit of 1000 records. But got it wrong ๐
Overlooked the question: Inserts start from 0 that makes the first statement to exceed this limit as well.
Nevermind, a good question indeed ๐
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
August 22, 2012 at 10:02 pm
Lokesh Vij (8/22/2012)
I knew there is a limit of 1000 records. But got it wrong ๐Overlooked the question: Inserts start from 0 that makes the first statement to exceed this limit as well.
Nevermind, a good question indeed ๐
Snap!! I'd look at lot smarter if I read the question once in a while ๐
August 22, 2012 at 11:01 pm
Good Question. Tricky as well..
August 22, 2012 at 11:30 pm
:angry:
<censured>
/T
August 22, 2012 at 11:36 pm
Dammit! Moar coffee!
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
August 23, 2012 at 12:41 am
Where are the variable definitions? I can see only the inserts (Chrome) :w00t:
August 23, 2012 at 1:32 am
+1
August 23, 2012 at 1:46 am
I didn't overlook the zero on the first one, but that's maybe because I've programmed in both C and BASIC and you soon learn to notice things like that after finding off-by-one errors all over the place in your code... ๐
August 23, 2012 at 2:01 am
More coffee needed, I didn't read the question right, thought it was inserting many columns not 1 column, so the limit would of been 4096 so selected S,E,E doh to early on this grimm Thursday morning.
August 23, 2012 at 2:20 am
Knew about the 1000 limit but missed the start from 0!!! Doh... definitely wont try this again without coffee!
Very sneaky question, but a good reminder...
Agree that we do need variable or table declaration though!
August 23, 2012 at 2:24 am
Great question although I got it wrong by missing the (0)
:exclamation: "Be brave. Take risks. Nothing can substitute experience." :exclamation:
August 23, 2012 at 2:32 am
okbangas (8/23/2012)
Good question, as others I overlooked the zero and hence got it wrong.
Nice question!
I joined your club ๐
Regards
IgorMi
Igor Micev,My blog: www.igormicev.com
August 23, 2012 at 2:42 am
Good question, I thought there would be a limit but didn't know what it was. Guessed 1000 would be okay (overlooked the zero!), 8096 too many for a #table, and 65k fine for a permanent table - SES.
Never mind - I learned something new!
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
Viewing 15 posts - 1 through 15 (of 62 total)
You must be logged in to reply to this topic. Login to reply