Viewing 15 posts - 4,246 through 4,260 (of 7,597 total)
Or:
id bigint IDENTITY(12345000000000, 1) NOT NULL,
...
June 17, 2016 at 10:44 am
I'd be more concerned with log waits and/or dynamic log growth than with log flushes per second. If you're writing a lot of data, you will have a lot...
June 17, 2016 at 10:42 am
This code may give you some ideas. It looks at the most recent <nn> identical activities and averages them to get an estimate:
declare @num_of_most_recent_activities_to_use_to_estimate int
set @num_of_most_recent_activities_to_use_to_estimate = 5
create table...
June 17, 2016 at 10:35 am
Typically I've found that DISTINCT is faster than GROUP BY when SELECTing a single column, i.e. as below, but obviously that could vary:
SELECT DISTINCT
...
June 16, 2016 at 1:40 pm
There's extremely little detail here, but it seems as if you are not distinguishing between a course and a single offering of the course, which I'll call a "class" for...
June 16, 2016 at 1:36 pm
gary1 (1/13/2012)
In Oracle, from toad for Oralce, if we select a table and see the Script, it shows complte table script along with the grants
But in SSMS, I can...
June 16, 2016 at 1:22 pm
Jeff Moden (6/16/2016)
ScottPletcher (6/16/2016)
Jeff Moden (6/15/2016)
Sergiy (6/15/2016)
The only correct answer would be a question in response.
Probably, more that one question in...
June 16, 2016 at 8:51 am
Because sys.dm_db_index_physical_stats is so much overhead, you'll want to filter out non-heaps before you do the CROSS APPLY to that function.
June 16, 2016 at 7:50 am
Jeff Moden (6/15/2016)
Sergiy (6/15/2016)
The only correct answer would be a question in response.
Probably, more that one question in response.
Until your requirements...
June 16, 2016 at 7:42 am
I agree, definitely save, truncate and (re)load.
Btw, you should very likely change the clustered index on the table to insert datetime if it's currently based on an identity column. ...
June 15, 2016 at 3:17 pm
I'd use separate dbs rather than separate schemas. We are client-based as well, and some of our clients demand that their data is isolated from the data of all...
June 15, 2016 at 3:11 pm
Eric M Russell (6/15/2016)
Jeff Moden (6/14/2016)
Eric M Russell (6/14/2016)
June 15, 2016 at 9:40 am
It's my understanding -- although I can't construct code right now that confirms it -- that:
SET LOCK_TIMEOUT
can cause that type of behavior. I had faith in that claim because...
June 14, 2016 at 2:06 pm
Sean Lange (6/14/2016)
ScottPletcher (6/14/2016)
In autocommit mode, when can an UPDATE statement partially complete, some UPDATEs made, some not, where SQL does not roll it back?...
June 14, 2016 at 1:47 pm
My advanced knowledge, "tricky" q is:
In autocommit mode, when can an UPDATE statement partially complete, some UPDATEs made, some not, where SQL does not roll it back?
Edit: And...
June 14, 2016 at 1:35 pm
Viewing 15 posts - 4,246 through 4,260 (of 7,597 total)