Viewing 15 posts - 871 through 885 (of 13,838 total)
Sounds like you're having a lot of fun with this one!
If you know the following two pieces of information:
a) How many chunks are required
b) How many rows are in the...
June 26, 2023 at 6:43 pm
No worries.
If your intention is to make this completely dynamic, such that the usual inputs the table name and the desired number of chunks as a parameter, you are going...
June 26, 2023 at 4:19 pm
This is an interesting one. This is what I would try, I think:
First, change the way that the file-naming works. I'd use a static file name (somefile.txt, or whatever), and...
June 26, 2023 at 12:11 pm
HECK NO! I am not the same person as that weirdo spammer posting things about hair removal after my sql server post.
FYI!
I am a real person as is pretty...
June 25, 2023 at 5:48 pm
What technique are you using to create the files? A data flow within a loop, perhaps?
What method are you currently using to name the files? Script task? Dynamic variable? Something...
June 25, 2023 at 8:22 am
However, this query is very simple. It is literally just select column one column two column 3 from table and then there is an order by and a fetch...
June 25, 2023 at 8:18 am
I must be missing something, but can't you just replicate what's on the server, in terms of drivers?
June 24, 2023 at 12:40 pm
Those data conversion errors should be investigated in VS. Are they completely bogus, or maybe there is an easy fix?
The other error I have never seen before.
June 23, 2023 at 4:37 pm
I suggest that you run one or two of these 'dynamic' queries in SSMS and take a look at the actual execution plan. I agree with Jeffrey in that it...
June 23, 2023 at 3:59 pm
Can I ask why you do not want to use temp tables? For a query of this length, there is a reasonable chance that the 'divide and conquer' approach which...
June 23, 2023 at 3:52 pm
It's been so long since I've used 2008, I have no idea. Config files have been replaced by SSISDB environments and I suggest that that is the ideal way forward...
June 22, 2023 at 3:34 pm
Is the file at the location mentioned in the error? If not, the message seems reasonable.
June 21, 2023 at 9:32 pm
I'm assuming you mean something more than comments in the code itself? Where are you expecting/hoping the help will be displayed?
June 16, 2023 at 10:34 am
Out of interest, can you try this version?
INSERT ...
SELECT TOP((@i_sequence_end - @i_sequence_start + 1) / @i_inc_val)
value = (ROW_NUMBER () OVER...
June 13, 2023 at 3:49 pm
OK, is the SQL Server service running under the same account as one of the users you have tested?
June 13, 2023 at 9:03 am
Viewing 15 posts - 871 through 885 (of 13,838 total)