Viewing 15 posts - 5,161 through 5,175 (of 19,564 total)
It is possible that it would be in a maintenance plan. It is possible that it is being run through a 3rd party app. It is possible that...
January 17, 2013 at 9:24 am
dineshvishe (1/17/2013)
I want sql statement from Rdl file then what to do ??
Load the rdl file into a solution and then get the sql statement from there.
Otherwise, parse the xml...
January 17, 2013 at 12:30 am
I think it would be a good idea to first familiarize yourself with the data and processes before trying to assess which tables, procs and indexes are unused. As...
January 17, 2013 at 12:27 am
I think that security is the duty of all involved from end-user to developer. However, one thing to consider in the economics of security is the annoyance and cost...
January 17, 2013 at 12:24 am
fatinnadiah88 (1/17/2013)
we do have backups but i'm not sure where to check why i can only see only the past 3months data.
If you have a backup of the database, then...
January 17, 2013 at 12:19 am
I read this article expecting Rainbows and Unicorns. Instead I got Homer and Pizza. What a warped sense of humor you have. 😀
Seriously though - Well Done Brandie.
January 17, 2013 at 12:06 am
Index Maintenance
Backups
Integrity Checks
Deadlock monitoring
January 16, 2013 at 10:40 pm
Have you tried to manually shrink?
Also, after shrinking, did you also do an index defrag? Reindexing can cause the database to grow back out.
January 16, 2013 at 9:30 pm
The X isn't necessary. You asked about delete statements not working with aliases. That is merely a demo showing that aliases do in fact work with delete statements.
As...
January 16, 2013 at 8:33 pm
GSquared (1/16/2013)
The Replace() version is better than the Case version. But you should still seriously consider moving that kind of thing to the presentation layer of the application.
I agree...
January 16, 2013 at 8:28 pm
Here is a script demonstrating a delete using an alias as well as using the alias X
Use Tempdb;
GO
CREATE TABLE demodelete (somenum INT);
INSERT INTO demodelete (somenum)
VALUES (1),(2),(3),(4);
SELECT * FROM demodelete;
DELETE X
FROM...
January 16, 2013 at 4:00 pm
Here is an article from microsoft on creating SQL Agent jobs
http://msdn.microsoft.com/en-us/library/ms135739(v=sql.105).aspx
January 16, 2013 at 2:46 pm
Add the query to a SQL Agent Job. Schedule the job to run nightly.
January 16, 2013 at 12:11 pm
Viewing 15 posts - 5,161 through 5,175 (of 19,564 total)