Viewing 15 posts - 1,411 through 1,425 (of 5,394 total)
Stefan Krzywicki (10/17/2012)
dwain.c (10/17/2012)
Stefan Krzywicki (10/17/2012)
October 18, 2012 at 1:41 am
Restore a backup copy of the database and extract the correct procedure from that copy.
You could set up a DDL trigger to capture this kind of changes into a table....
October 15, 2012 at 2:21 am
To add to Gail's reply, the optimizer parses the literal values in the IN predicate and extracts unique values.
Here's an example using your code:
DECLARE @T TABLE (
Column1 int,
Column2 int
)
INSERT INTO...
October 11, 2012 at 5:18 am
The log file grows because creating the index requires a lot of data modifications, that get recorder into the transaction log. Even under the simple recovery model, the CREATE INDEX...
October 9, 2012 at 4:35 pm
Sean Lange (10/9/2012)
Gianluca Sartori (10/9/2012)
Sean Lange (10/9/2012)
Krasavita (10/9/2012)
int
Reason #91029037403884 you should ALWAYS use the proper datatypes. Datetime should ALWAYS be stored in a datetime column. Otherwise you end up pulling...
October 9, 2012 at 3:19 pm
Let's see if I get it right:
- 44 K rows inserted every day
- no updates
- frequent selects
- no primary key
- an identity column
I assume there's no clustered index on the...
October 9, 2012 at 3:16 pm
Sean Lange (10/9/2012)
Krasavita (10/9/2012)
int
Reason #91029037403884 you should ALWAYS use the proper datatypes. Datetime should ALWAYS be stored in a datetime column. Otherwise you end up pulling out your hair over...
October 9, 2012 at 3:09 pm
OK, I updated the code, but I don't have a working report to test it.
So, if you want to try it, it's totally untested, but should work.
Hope this helps
Gianluca
October 4, 2012 at 4:47 pm
CELKO (9/22/2012)
September 24, 2012 at 3:44 am
Andrew Pruski (9/20/2012)
Definitely, the database has been migrated to a test environment and the startup parameter implemented.
So, I guess it worked, didn't it?
September 20, 2012 at 10:08 am
GilaMonster (9/20/2012)
September 20, 2012 at 10:00 am
You could also try a different path.
There's an undocumented startup parameter that allows changing the collation for the whole instance, including all user databases attached to it.
You could set up...
September 20, 2012 at 4:33 am
IIRC Gail has a nice example on her blog.
You could tweak it to fit in your database.
September 20, 2012 at 4:21 am
kl25 (9/17/2012)
Thanks! Didn't know about that function.
Another option is querying sys.extended_properties directly.
September 17, 2012 at 3:50 pm
Viewing 15 posts - 1,411 through 1,425 (of 5,394 total)