Viewing 15 posts - 781 through 795 (of 13,841 total)
Thanks for that. We use synonyms to refer to other databases so hopefully that shouldn't cause too many issues.
I'll give it a go with a test database and...
October 4, 2023 at 2:26 pm
@Phil - we haven't yet but we're working on that bit. It would still be painful, but not as bad as creating all the tables by hand, etc
Should be...
October 4, 2023 at 9:00 am
If you've got this all inside a VS database project, editing the .sql files for the tables and then Publishing does everything for you.
But behind the scenes, it is still...
October 4, 2023 at 8:38 am
One idea is to put your dataset queries into stored procs and call those from your report.
My preference is to keep complex business logic such as this within the database....
October 1, 2023 at 10:12 am
I had to look up "corpuscles", for a moment I thought it was a new drink at starbucks.
Thank you all for taking the time and giving me your take...
September 29, 2023 at 2:55 pm
I would define first week as any days of the month that land on the first week of the month. i.e. if September 1 lands on Friday, then September...
September 28, 2023 at 8:55 pm
If you want a load into a new table, then create the empty table AND create the Clustered Index. Then, forget SSIS... use BULK INSERT with the TABLOCK...
September 27, 2023 at 9:15 am
I don't understand why people continue to use multiple insert statements when a simple table value constructor (TVC) will do the same thing without all of the clutter.
Drew
I agree!...
September 26, 2023 at 2:44 pm
SELECT STRING_AGG(CONCAT('''',td.name,''''),',')
FROM #tbl_db td September 26, 2023 at 11:04 am
For finding out whether DBs are being used, there is also the (simple, but somewhat brutal) option of taking them offline and waiting for someone to complain.
September 25, 2023 at 12:43 pm
why are you dropping and recreating the indexes? what are you trying to accomplish with it?
(for Phil - OP has DROP_EXISTING = ON so indexes are there already while...
September 24, 2023 at 6:30 pm
Are you saying that this proc runs slower in SSIS than it would if you were running it from SSMS?
Have you determined which statement is the slow one (I imagine...
September 24, 2023 at 9:51 am
If that is the syntax that the app will use, and you cannot change it, won't it fail anyway, because of the 'CALL'?
September 22, 2023 at 10:31 am
Not sure I understand. Best (and possibly only) way in SQL is to use a series of INSERT queries. If that's not the answer you were looking for, please clarify.
September 21, 2023 at 12:57 pm
Viewing 15 posts - 781 through 795 (of 13,841 total)