Viewing 15 posts - 301 through 315 (of 902 total)
Gail,
wouldn't the Database level Audit be enough, as this seems to handle events for Select, Insert, Update, and Delete Actions? Or would the overhead be significant?
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 25, 2013 at 8:17 am
No problem.
My main concern is that this isn't necessarily a small change, as it wil have an impact on any query, SP, Function that uses this as a join, as...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 25, 2013 at 8:07 am
If the Database had no collation specified when it was created then it will inherit the Server collation in this case its Case Insensitive so you have to manually set...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 25, 2013 at 7:45 am
What is the collation of the database/table/column? As that is what will be driving this to cause an error.
if you set the column Col2 to a Case Sensitive collation then...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 25, 2013 at 7:09 am
Jeff,
I know you've written a number of articles on running totals, this one (the most recent) sprang to mind, http://www.sqlservercentral.com/articles/T-SQL/68467/, but I'm not sure if this is the one...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 25, 2013 at 6:46 am
The database is running user defined data type, so the selct you are running is attempting to convert the SECCODEID(varchar) to an INT, data type.
If you did
SELECT *...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 22, 2013 at 6:40 am
Using a CAST(NULL as <DataType>) is usually done to ensure that a place holder column has the right datatype for a later process especially when doing an SELECT INTO or...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 21, 2013 at 12:30 am
I've made two refinements the first is the addition of a dynamic interval slicer, and the second was to remove the modulous calculation and replace it with a ROW_NUMBER() based...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 19, 2013 at 9:47 am
I saw the Dynamic pivot of the request and wrote this to pivot the data, its similar to dunstans, there are some simplifications optimisations that can be made like splitting...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 19, 2013 at 9:13 am
This is my attempt, it works on a 24 hour widow and im sure theres a better way of doing it
CREATE TABLE #Hist
(
CallDateTime DateTime
,HistId int
)
Insert into #Hist
VALUES ('2013-02-01 06:14:41.000',2671058)
,('2013-02-01 07:02:15.000',...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 19, 2013 at 7:52 am
Can you post the code in the SP, as that might help us see what's going on.
I take it you've don't a count on the source table and that matches...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 19, 2013 at 5:23 am
Scott,
I would disagree with you on the under no circumstances comment, for a couple of reasons
1) the risk of fragmentation is significant on the clustered index, especially if it...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 19, 2013 at 1:48 am
Andy Hyslop (2/18/2013)
Bhuvnesh (2/18/2013)
Andy Hyslop (2/15/2013)
could test your ETL's by dropping all of your indexes and re-creating and determining the impact so see which is more efficient
Does it cost...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 18, 2013 at 4:30 am
The problem is that there is a tipping point where SQL can get into a twist, sometimes this can be a few 100,000 rows difference.
does your service account have...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 18, 2013 at 2:08 am
Thanks for the reply,
Its good to see you do a targeted rebuild, I would imaging its indexes over 30/40% that get rebuilt and anything under that re-organised. I'm...
_________________________________________________________________________
SSC Guide to Posting and Best Practices
February 18, 2013 at 1:36 am
Viewing 15 posts - 301 through 315 (of 902 total)