Viewing 15 posts - 481 through 495 (of 1,409 total)
Take a look at this article from Jeff Moden. http://www.sqlservercentral.com/articles/Tally+Table/72993/
March 14, 2014 at 4:32 am
"Registered Server" is a feature within SSMS only. If you want to write a query using other servers (instances) you could set up a linked server.
March 14, 2014 at 4:31 am
I've created a list of the last backups for each database and join this with the [backupset] to get the associated "media_set_id". I've put this query inside a CTE so...
March 14, 2014 at 4:23 am
New Born DBA (3/11/2014)
Number 3. one instance with one database on one server; the database holds data from 2 different clients.
Do the tables hold data for a single client, or...
March 11, 2014 at 12:29 pm
New Born DBA (3/11/2014)
...Scenario: We have 2 clients sharing a device for storage....
What do you mean with the above quoted phrase:
1. two instances (with each one database) on the same...
March 11, 2014 at 11:37 am
When you specify the body_format as HTML you also need to use HTML paragraph endings. Try using "<p> </p>" instead of the "CHAR(10)+CHAR(13)"...
March 11, 2014 at 6:52 am
The CHAR(10)+CHAR(13) does add a linefeed+return to the string, so it looks like you used a SELECT to return the results (like Koen mentioned in the previous post).
Btw: the following...
March 11, 2014 at 6:48 am
The code in my post does NOT check if an email address is present in the string. If you have values without an @-sign, the code will fail. You can...
March 11, 2014 at 6:30 am
You have an error in the dynamic SQL part. The statement inside the VALUES part doesn't work with the comma before the FROM and you need to move the @name...
March 11, 2014 at 5:27 am
You need to use the CHARINDEX function to determine the start position (semi column or space) and end-position of the e-mail part inside the string.
if object_id('tempdb..#test') is not null
drop table...
March 11, 2014 at 5:05 am
DBCC CHECKDB creates a database snapshot by its own. In your case this is failing.
Are you able to create a snapshot yourself? If so, you can run the DBCC CHECKDB...
March 11, 2014 at 2:13 am
I would suggest to script out all users (and logins) with their permissions. You can find many script to do that on the internet and on this forum (http://www.sqlservercentral.com/search/?q=permissions&t=s&sort=relevance). Use...
March 10, 2014 at 10:28 am
Basicly: Allow the LOG file to grow and keep enough free space on disk.
Try to figure out why the LOG has been growing this big and see if it can...
March 10, 2014 at 7:07 am
At first glance I think you've added an extra line that doesn't belong there:
IF DB_ID('Northwind') IS NULL
BEGIN
RESTORE DATABASE [Northwind]
FILE = N'Northwind_Data' -- this line needs to be removed
FROM
DISK =...
March 10, 2014 at 6:37 am
When you specify the schame name in the CREATE command, the table will be created in the mentioned schema
CREATE TABLE [DB_SQL].[table_new] (column datatype, ....)
March 7, 2014 at 10:36 am
Viewing 15 posts - 481 through 495 (of 1,409 total)