![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am starting with a Declare @insertString varchar(8000) Then I'm creating a cursor and looping through records while setting @insertString = @insertString + 'the newest record from the cursor' This works fine but for some reason the maximum SIZE for the @insertString stops at 4000 Why is this? Again, it works fine as long as the len is 4000 or less. The table field is clearly a varchar(8000) Anybody got any ideas? |
#3
| |||
| |||
|
|
I am starting with a Declare @insertString varchar(8000) Then I'm creating a cursor and looping through records while setting @insertString = @insertString + 'the newest record from the cursor' This works fine but for some reason the maximum SIZE for the @insertString stops at 4000 Why is this? Again, it works fine as long as the len is 4000 or less. The table field is clearly a varchar(8000) Anybody got any ideas? Bob Sweeney |
#4
| |||
| |||
|
|
On Friday, July 6, 2012 1:17:29 AM UTC-4, Bob wrote: I am starting with a Declare @insertString varchar(8000) Then I'm creating a cursor and looping through records while setting @insertString = @insertString + 'the newest record from the cursor' This works fine but for some reason the maximum SIZE for the @insertString stops at 4000 Why is this? Again, it works fine as long as the len is 4000 or less. The table field is clearly a varchar(8000) Anybody got any ideas? |
|
Bob Sweeney Erland, if you don't know the answer to my question then kindly shut the fuck up. |
#5
| |||
| |||
|
|
On Friday, July 6, 2012 1:17:29 AM UTC-4, Bob wrote: I am starting with a Declare @insertString varchar(8000) Then I'm creating a cursor and looping through records while setting @insertString = @insertString + 'the newest record from the cursor' This works fine but for some reason the maximum SIZE for the @insertString stops at 4000 Why is this? Again, it works fine as long as the len is 4000 or less. The table field is clearly a varchar(8000) Anybody got any ideas? Bob Sweeney Erland, if you don't know the answer to my question then kindly shut the fuck up. |
#6
| |||
| |||
|
|
I am starting with a Declare @insertString varchar(8000) Then I'm creating a cursor and looping through records while setting @insertString = @insertString + 'the newest record from the cursor' This works fine but for some reason the maximum SIZE for the @insertString stops at 4000 Why is this? Again, it works fine as long as the len is 4000 or less. The table field is clearly a varchar(8000) Anybody got any ideas? Bob Sweeney |
#7
| |||
| |||
|
|
On Friday, July 6, 2012 1:17:29 AM UTC-4, Bob wrote: I am starting with a Declare @insertString varchar(8000) Then I'm creating a cursor and looping through records while setting @insertString = @insertString + 'the newest record from the cursor' This works fine but for some reason the maximum SIZE for the @insertString stops at 4000 Why is this? Again, it works fine as long as the len is 4000 or less. The table field is clearly a varchar(8000) Anybody got any ideas? Bob Sweeney Gene, get lost. Join erlander. |
#8
| |||
| |||
|
|
I am starting with a Declare @insertString varchar(8000) Then I'm creating a cursor and looping through records while setting @insertString = @insertString + 'the newest record from the cursor' This works fine but for some reason the maximum SIZE for the @insertString stops at 4000 Why is this? Again, it works fine as long as the len is 4000 or less. The table field is clearly a varchar(8000) Anybody got any ideas? Bob Sweeney |
#9
| |||
| |||
|
|
On Friday, July 6, 2012 1:17:29 AM UTC-4, Bob wrote: I am starting with a Declare @insertString varchar(8000) Then I'm creating a cursor and looping through records while setting @insertString = @insertString + 'the newest record from the cursor' This works fine but for some reason the maximum SIZE for the @insertString stops at 4000 Why is this? Again, it works fine as long as the len is 4000 or less. The table field is clearly a varchar(8000) Anybody got any ideas? Erland, if you don't know the answer to my question then kindly shut the fuck up. |
![]() |
| Thread Tools | |
| Display Modes | |
| |