Viewing 15 posts - 6,421 through 6,435 (of 7,597 total)
Hmm, no point in maintaining indexes for 11 months in which they are not being used.
But 30 days? That's a different q. Typically it depends on the size...
August 27, 2013 at 1:23 pm
In Oracle, a TRUNCATE indeed cannot be rolled back. [Oracle uses a fundamentally different way of handling table allocations that would make it essentially impossible for Oracle to rollback...
August 27, 2013 at 1:18 pm
GilaMonster (8/27/2013)
davidandrews13 (8/27/2013)
August 27, 2013 at 1:12 pm
mahavidhya24 (8/26/2013)
L TRIM removes all the white space from the starting of the pattern and R TRIM removes all the white space at the end of the pattern.:-)
Sorry, but that's...
August 26, 2013 at 3:45 pm
You have to separate the data format the user enters vs. what's stored in the db. It's OK in your app to have the user enter "mon. dd, yyyy"...
August 26, 2013 at 10:06 am
mario17 (8/23/2013)
Your code works fine, and much easy to digest ( or learn if you will), amazing.. and thanks again to you and Dwain for sharing this, sure you...
August 26, 2013 at 7:54 am
Good points about the Unicode and datetimeoffset (I've never personally used that data type):
-- list column data type, including len(s), if applicable
...
August 22, 2013 at 4:48 pm
You should use your own tally table, either a permanent one or a dynamically generated one. Since the permanent one would be clustered on the tally value, it might...
August 22, 2013 at 4:36 pm
The app should insert a "header" row into a different table when it starts. You can then use that table to pull the log entries.
If the log table contains...
August 22, 2013 at 3:33 pm
You have to go further than that, including considerations of datetime, datetime2, etc..
NOTE: The code below does NOT consider any user-defined data types.
...
August 22, 2013 at 2:47 pm
CleverSQLUserID (8/21/2013)
ScottPletcher (8/14/2013)
<snip>
I'll add code to see the actual part(s) of the text that match if you...
August 21, 2013 at 12:20 pm
Look at the SQL Server Agent error log (separate from SQL Server error log); there will (should) be more info there on why Agent could not start.
August 20, 2013 at 1:16 pm
taigovinda (8/20/2013)
August 20, 2013 at 12:55 pm
Michael Valentine Jones (8/20/2013)
taigovinda (8/20/2013)
My database has a bunch of tables on it that have no indexes at all on them. I want to add indexes to these tables...
August 20, 2013 at 10:04 am
ChrisM@Work (8/20/2013)
ScottPletcher (8/20/2013)
ChrisM@Work (8/20/2013)
A primary key doesn’t have to be indexed
I thought it did. Doesn't SQL always create an index to enforce a PK?
It has to be indexed to...
August 20, 2013 at 9:45 am
Viewing 15 posts - 6,421 through 6,435 (of 7,597 total)