Viewing 15 posts - 766 through 780 (of 3,489 total)
I guess I answered this question, the one you explicitly asked instead of the one you intended:
I'm trying to get a running total of how many riders are on the...
March 22, 2020 at 12:33 am
Not a clue what Modulo has to do with this. Sounds like you want a running total of riders boarding minus a running total of riders leaving the bus. Maybe...
March 22, 2020 at 12:04 am
Post your SQL statements here... nobody's going to download files from people they don't know.
March 21, 2020 at 8:13 pm
How about doing something like BCP OUT to write the records to some manageable number of text files, and then use BULK INSERT to insert each file of, say, 100K...
March 21, 2020 at 1:53 am
Couldn't you use TOP with OFFSET to get a fixed size chunk of records and insert that way? (So modify to do the insert in chunks?
use AdventureWorks2017;
GO
DECLARE...
March 21, 2020 at 12:27 am
Jo,
It was in a painfully obvious place. Right-click on the gray area (not on the report), and select "Report Properties" from the context menu. It's under there.
So then you can...
March 20, 2020 at 4:15 pm
Oh, they hid the variable declaration stuff... I should have known. Good to know it's there...
March 20, 2020 at 5:05 am
Why not schedule a job and have it run in the middle of the night when nobody's using the database?
March 20, 2020 at 1:48 am
You can run R code from within SQL Server (Python too, now).
March 14, 2020 at 9:04 am
What if you modified the search to be something like
WHERE [TrackDate] > @SomeDateTime1 AND [TrackDate] <= DATEADD(day,1,@SomeDateTime1)
OR [TrackDate] > @SomeDateTime2 AND [TrackDate] <= DATEADD(day,1,@SomeDateTime2)
Then wouldn't you get...
March 12, 2020 at 6:45 pm
Not sure what's wrong. I get what you're doing... Get the "start date" and "end date" sizes for each database on a given server, subtract, and get the growth.
Can you...
March 12, 2020 at 6:13 am
Where's your CREATE PROCEDURE statement? Sounds like you're trying to create a stored procedure that has a few parameters...
Where's your CREATE PROCEDURE statement? Sounds like you're trying...
March 11, 2020 at 5:09 am
How about a CREATE TABLE script and maybe some sample data?
March 11, 2020 at 1:37 am
How about posting the query? Pin the tail on the donkey isn't that much fun.
March 9, 2020 at 8:23 pm
Please read this article:
Your post lacks several things that enable folks like me to help you:
March 6, 2020 at 12:36 am
Viewing 15 posts - 766 through 780 (of 3,489 total)