Forum Replies Created

Viewing 15 posts - 31 through 45 (of 196 total)

  • RE: Automated sql server restore

    The basic statements you need are the following:

    restore database xy from disk = 'g: c:\fullbackup\dec\fullbackup_dmmyyyy.bak' with norecovery

    restore database xy from disk = 'g: D:\Difbackup\Dec\Diffbackup_ddmmyyyy.bak' with norecovery

    restore database xy from disk...

  • RE: Replication

    I never saw this error before so I just can guess.

    The error tells you the table syspublications not existing. This is a system table that gets created when marking the...

  • RE: t-sql 2012 pass parameters

    -- declare the variables

    declare @custname is varchar(30)

    ,@custnumber is varchar(10)

    ,@custstate is varchar(02)

    ;

    -- set values for the variables

    set @custname = 'SomeName';

    set @custnumber = '0012345';

    set @custstate =...

  • RE: CDC; AlwaysOn and CDC Jobs question.

    For the job's I cannot say anything else, did not do it myself 😉

    As for the PS, have a look at the section Log Reader Agent Modifications HERE

    The LogReaderAgent is...

  • RE: CDC; AlwaysOn and CDC Jobs question.

    hi,

    for adding the jobs i guess that this special procedure updates the user databases too. As on a secondary the databases of the availability group are write protected i guess...

  • RE: Primary Key and Clustered Index: how to set in this example?

    I do have a natural PK. The only difficulty is: one of these columns is nullable. So I cannot create the PK constraint.

    The question is: do I add a artificial...

  • RE: Question related to missing index DMV's ?

    I would not call it useless. I personally like to have a look at the columns "user_seeks" and "last_user_seek". High numbers are an indicator that I should have a look...

  • RE: Outer Apply and Left Join differance

    The apply-operator was introduced to "join" the result of a function to a resultset. That was not possible before the apply-operator.

    When using a table expression for joining there is no...

  • RE: Identify string or integer

    Why do you need that at all?

  • RE: Outer Apply and Left Join differance

    The main difference between the join and the apply operator is that the apply operator can be used to "join" the result from a function.

    If you use the apply-operator using...

  • RE: table

    I think "add poll" is the wrong command for you. It's for asking a question and let the people vote.

    Try to use "add topic" and ask your question again. The...

  • RE: Run querys on different database with Progress

    Actually it does not really matter on which database you connect initially.

    When referencing tables (or any other database objects) you can youse a 3-part-name where the first part defines the...

  • RE: Deny execution of a particular SQL statement

    I cannot imagine the sense of this requirement.

    Maybe you could deny the select permission to all tables and grant the select permission on the one that should be selected.

    Depending on...

  • RE: Database in Availability Group Issue

    Be sure that the GUI of the management studio is refreshed.

    Check that the database is not part of another availiability group.

  • RE: RAISEERROR syntax

    Erland Sommarskog (8/6/2013)


    Previously, you could rely on that if the batch was aborted, your transaction was rolled back

    Really? As far as I know the standard behavior is that an exception...

Viewing 15 posts - 31 through 45 (of 196 total)