Viewing 15 posts - 331 through 345 (of 972 total)
In order to get the GRANT permissions you will need to query the system views (either server_permissions or database_permissions) depending on which level you need.
I believe this [/url]tip from K....
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
January 17, 2012 at 7:46 pm
Offering a link to download the script as a whole, in place of copy/pasting, might be useful for folks. Good article though.
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
December 20, 2011 at 8:14 am
For clarification just taking the 70-450 does not get you the MCITP DBA 2008 certification. You can take it, but your transcripts with Microsoft are not going to show it...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
November 21, 2011 at 12:48 pm
You win the trip in space but your employer is not going to let you have the time off, estimating that you would need at least 1 week off. Would...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
November 21, 2011 at 12:32 pm
Nakul Vachhrajani (7/11/2011)This script is best used to eliminate I/O issues. If the backup file structure is logically corrupt, no point in even attempting a restore. Once we know that...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
July 11, 2011 at 7:11 am
yes
http://msdn.microsoft.com/en-us/library/ms177484.aspx
A clustered index changes the structure of the table and how it is stored, which is why only one can exist on a table. A nonclustered index has the same...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
July 5, 2011 at 10:59 am
You should see a 12288 Event ID (I believe) of packages or jobs that the SQL Server Agent is firing.
The SQL Server ERRORLOG has some system events written to...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
July 5, 2011 at 10:57 am
There are not really any best practices to follow, that I know of. It is best to go by the business requirements of your organization. Finding the best license model...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
July 1, 2011 at 8:44 pm
I believe event id 128 or 129 are what you are looking for. I don't know where they show up in Profiler. I found them in BOL under the sp_trace_setevent.
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
July 1, 2011 at 8:26 pm
Brian Brown-204626 (6/22/2011)
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
June 22, 2011 at 11:38 am
Does SELECT @@SERVERNAME still show the old server name?
The proper way to have done this is to use sp_dropserver and sp_addserver to properly allow SQL Server to update the server...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
June 22, 2011 at 9:56 am
Yes I will agree with you the "example" I wrote up is probably not easy to follow. I wish I could have just provided the files in question but they...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
June 16, 2011 at 9:07 am
I got a little help from Twitter, well alot of help actually...
Can you explain to me what the $new_content variable is doing?
What I ended up with after some help is...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
June 16, 2011 at 7:15 am
I also did find one suggestion about first loading the file I'm trying to write back to into memory first (File_config.txt). I did this by just adding $x = (Get-Content...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
June 15, 2011 at 7:27 am
Jeff Moden (6/13/2011)
Shawn Melton (6/13/2011)
SQLCMD is used mostly locally on the server
Thanks again, Shawn. The real question is "How is SQLCMD being called?" Are you calling it through...
Shawn Melton
Twitter: @wsmelton
Blog: wsmelton.github.com
Github: wsmelton
June 14, 2011 at 7:39 am
Viewing 15 posts - 331 through 345 (of 972 total)