• About
a slice of imagination
just another wordpress weblog

Scripting DROP SYNONYM

By Stan On March 20, 2013 · Leave a Comment

Recently we needed to refresh our test database and the synonyms in the test environment is different from the production environment. Instead of re-creating all the synonyms one-by-one, this task can be semi-automated.

Run the following code on the old production database
SET NoCount ON — optional
SELECT DISTINCT ‘DROP SYNONYM [' + [...]

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

Microsoft Office – Reduce the file size of a picture

By Stan On February 25, 2013 · Leave a Comment

Pictures in office documents

As pictures become commonplace in the work environment, we see it more and more in work related documents. I do believe pictures are generally a good thing as like they say, “a picture is worth a thousand words”. However, sending office documents out when they become bloated with large images is [...]

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

70-462 – Plan installation – design the installation of SQL Server and its components

By Stan On February 8, 2013 · Leave a Comment

More to write about this one…

References Exam 70-462: Administering Microsoft SQL Server 2012 Databases Configure Windows Service Accounts and Permissions

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

70-462 – Plan installation – evaluate installation requirements

By Stan On February 8, 2013 · Leave a Comment

Software Requirements

The most important thing to consider is that .NET 3.5 is installed as it is not installed by the SQL Server 2012 installation. SQL Server 2012 does require .NET 4.0, however this will be installed as part of the installation.

Summary

.NET framework (3.5 and 4.0) Windows Powershell Network software (TCP/IP) Internet Explorer [...]

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

Red Gate SQL Source Control and SQL Server Management Studio 2005 Woes

By Stan On February 8, 2013 · Leave a Comment

Continuing with supporting Red Gate SQL Source Control, we ran into another issue with the most current release of the software – SQL Source Control 3.1.0.5208. When loading SQL Server Management Studio 2005, we got the following message:

Failure to load Add-on

This issue didn’t happen for our developers who were using SQL Server Management [...]

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

Red Gate SQL Source Control and TFS

By Stan On February 5, 2013 · Leave a Comment

We currently use RedGate SQL Source Control and TFS for our source control. However, for some reason, there was some changes made somewhere which caused all our developer’s SQL Source Control to halt while continually trying to complete step 2 of 4. It displayed a message saying:

Determining latest version

After a thorough investigation, it [...]

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

Exam 70-462: Administering Microsoft SQL Server 2012 Databases

By Stan On February 1, 2013 · Leave a Comment

After reading Katie & Emil’s post regarding 70-461 and upon my completion of the exam, I decided that I will do something similar during my studies for the next exam – the 70-462. I know they have a page for 70-462 as well but I thought it would be a good experience to write something [...]

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

Slow SQL Server query using a DB2 linked server in virtual environment

By Stan On February 1, 2013 · Leave a Comment

We ran into an issue at work where a SQL Server query was slow when the VM in which the SQL Server was running in had more than 1 vCore. I had posted the question on dba.se and was able to piece together an answer so I wanted to keep a record of that here [...]

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

Moving scheduled jobs from old to new Microsoft SQL Server

By Stan On January 16, 2013 · Leave a Comment

Somewhat related to my previous post, I was now tasked with moving scheduled jobs from the old Microsoft SQL Server to a new Microsoft SQL Server. To do this, we generated a script within MS SQL Server Management Studio. I came up with a few issues while trying to run the scripts on the new [...]

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →

Moving MS databases from one server to another

By Stan On January 11, 2013 · Leave a Comment

Deployed a new test server to replace an aging development server. Aside from the set up and other technical requirements, we needed to move the data from the old MSSQL server to the new MSSQL server. Quick steps to do so:

1. Make note of current location of database files.

Share this:

  • Email
  • Print
  • Facebook
  • LinkedIn
  • Twitter
  • More
  • Digg
  • Google +1
  • Pinterest
  • Reddit
  • StumbleUpon
  • Tumblr
Continue Reading →
← Previous Entries
  • May 2013
    M T W T F S S
    « Mar    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Tags

    70-462 AJAX ASP Blackberry Bluetooth CDONTS CentOS check_http Chrome Cisco configuration CRM filezilla ftp GMail Google Google Apps gzip http iis jive linux Microsoft MSXML multi-boot mysql nagios orphaned users Outlook permissions programming redgate sbs SQL Server sql source control vCenter virtualization VMware vSphere vSphere Client WDS Windows 7 windows 2008 r2 windows server 2003 WordPress
  • Categories

    • Mobile (1)
    • Personal (4)
    • Study (3)
    • Web (5)
    • Work (30)
  • Archives

    • March 2013 (1)
    • February 2013 (7)
    • January 2013 (3)
    • February 2012 (4)
    • December 2011 (2)
    • March 2011 (1)
    • February 2011 (2)
    • January 2011 (3)
    • September 2010 (1)
    • August 2010 (1)
    • July 2010 (1)
    • June 2010 (2)
    • May 2010 (6)
    • April 2010 (5)
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
"@caesu91 @NatGeopix apparently not quite true if you believe snopes... http://t.co/tf0LzDl5XB" — stanleykylee

a slice of imagination

Pages

  • About

The Latest

  • Scripting DROP SYNONYM
    Recently we needed to refresh our test database and the synonyms in […]

More

Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the RSS feed.
© 2013 a slice of imagination
Platform by PageLines
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.