Viewing 15 posts - 8,746 through 8,760 (of 26,490 total)
The_SQL_DBA (2/20/2013)
@george - I am not sure if they support DNS alias, but if they do it will be awesome as Mirroring is our go to...
February 20, 2013 at 3:20 pm
Does this help?
February 20, 2013 at 2:51 pm
You can't can't specify the failover partner in the connection string? That's how we did it for the PeopleSoft HR and Finance systems at a previous employer.
No changes to...
February 20, 2013 at 2:46 pm
The last article I reference in my signature block talks about managing the transaction log, you should read it.
February 20, 2013 at 2:32 pm
Sounds like your database is using BULK_LOGGED or Full Recovery model and you aren't running any transaction log backups. Full backups and Differential backups do not truncate the transaction...
February 20, 2013 at 2:31 pm
So, what is the result of the following query?
select name, log_reuse_wait_desc from sys.databases where name = 'Aquapak_Live_app';
February 20, 2013 at 2:22 pm
This is how it should be executed:
exec dbo.SetDefaultDatabase @LoginString = '[Sample/abc]', @DatabaseString = 'ThisDatabase';
February 20, 2013 at 1:13 pm
Not familiar with the extended events. All I can think of is the sp_statement_starting is conting the start of each SQL statment in the procedure each time one is...
February 20, 2013 at 1:02 pm
This maybe?
CREATE Procedure [dbo].[SetDefaultDatabase]
@LoginString NVARCHAR(50),
@DatabaseString NVARCHAR(50)
As
Begin
Set NoCount On
Exec sp_defaultdb @loginame = @LoginString, @defdb = @DatabaseString
End
GO
February 20, 2013 at 12:56 pm
How many SQL statements are there in the stored procedure?
February 20, 2013 at 12:54 pm
jfogel (2/19/2013)
Lynn Pettis (2/19/2013)
February 19, 2013 at 2:25 pm
I apologize if you are taking the use of the word "you" personally. It was meant in a general third person manner.
February 19, 2013 at 2:24 pm
If documentation exists and you fail to read it, you have only yourself to blame. Just pointing out one of the possible reasons you may not know why a...
February 19, 2013 at 1:12 pm
Try either of these:
SELECT AttachmentKey
FROM dbo.order
WHERE NOT( (AttachmentKey IS NULL)) OR (AttachmentKey = '') )
OR
SELECT AttachmentKey
FROM dbo.order
WHERE (AttachmentKey IS NOT NULL) AND (AttachmentKey <> '')
February 19, 2013 at 1:09 pm
Looking at the following, if AttachmentKey is '', then AttachmentKey IS NULL is false, which then becomes true due to the NOT which makes this part of the WHERE clause...
February 19, 2013 at 1:03 pm
Viewing 15 posts - 8,746 through 8,760 (of 26,490 total)