Friday, August 12, 2005 - Posts

Blog redesign

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/Blog redesign
The new RSS feed is here

So I've finally got round to sorting out the layout of my blog, you can now see the links to other blogs and sites on the right, rather than having to scroll down to it.

Also included some google ads to see what happens with them.

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/Blog redesign

SQLCMD pointers

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/SQLCMD pointers
The new RSS feed is here

Following on from my previous post if using SQLCMD. you need to be aware of the following

  • You can comment out sqlcmd statements in the usual way
  • files paths are relative to your default folder on the machine you are running the script, i.e. your workstation for me this is c:\documents and settings\simonsa
  • if a value contains a space use quotes i.e :setvar progdir "c:\program files"
  • if using a variable and some other text with a space do not include the variable in the quoted part i.e.
    • use this :r $(progdir)"\Microsoft SQL Server\some file.sql"
    • not this :r "$(progdir)\Microsoft SQL Server\some file.sql"

Thats all for now.

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/SQLCMD pointers

SQLCMD in SQL Server 2005

My blog has moved to sqlblogcasts.com/blogs/simons
The full version of this post can be found here., http://sqlblogcasts.com/blogs/simons/SQLCMD in SQL Server 2005
The new RSS feed is here

You may or may not know that there is a tool in SQLServer2005 that allows you to do some interesting stuff in a script. These scripts can be run in either management studio or using the sqlcmd tool.

... To read the complete version of this post go here, http://sqlblogcasts.com/blogs/simons/SQLCMD in SQL Server 2005