Friday, August 23, 2013

SP_HELPDB

sp_helpdb function returns information about that databases in the particular database server. Below is an example:




Monday, August 5, 2013

SP_EXECUTESQL expects NTEXT/NCHAR/NVARCHAR

Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.

Pretty straight forward error, just change the datatype of the variable you are using to assign the dynamically generated string.

Hope this helps....