Forum Replies Created

Viewing 15 posts - 3,751 through 3,765 (of 7,164 total)

  • RE: Maintenance plan with powershell

    Jeff Moden (6/24/2012)


    Actually, I said "Scheduling Reporting Capabilities" which is a bit less ambiguous. 🙂

    When I evaluated enterprise job schedulers I evaluated at least 10 products on at least 20...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Maintenance plan with powershell

    Jeff Moden (6/24/2012)


    matthieu178 (6/24/2012)


    Hi firt of all thanks for the answers.

    Indeed I'm using the sp startjob.

    Unfortunately I don't have much knowledge in .net programming either, even with powershell commandlets.

    For the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Maintenance plan with powershell

    matthieu178 (6/24/2012)


    Hi firt of all thanks for the answers.

    Indeed I'm using the sp startjob.

    Unfortunately I don't have much knowledge in .net programming either, even with powershell commandlets.

    For the second question...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Maintenance plan with powershell

    Invoke-SqlCmd is good for issuing commands, but not necessarily for interacting with the database iteratively.

    For that you'll be better off using the .Net SqlClient classes from PowerShell.

    Here is an...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: easy way to extract data to csv?

    BenWard (6/21/2012)


    Hi Guys,

    just a quick one, I'm extracting data to a CSV for an accounts reconciliation and really would like the extract part of it to be coded in the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: seamless migration using replication

    Might I recommend a shift in approach. In my opinion Log Shipping (LS) is better suited for this kind of work given that it is transactionally consistent. This property translates...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How to give triiger execution Permission

    vs.satheesh (6/22/2012)


    Thank You . I am getting same error. but time being i am solved to change the server STATE . but i will do that certificate .

    Any Problem in...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Maintenance plan with powershell

    What are you using within your PowerShell script to invoke the Maintenance Plan? DTExec.exe? If so, then generically the question becomes "how do I capture the return code when calling...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: High Page reads or high Execution time

    Jeff Moden (6/22/2012)


    opc.three (6/20/2012)


    Jeff Moden (6/19/2012)


    Just a recommendation. I've found that using SET STATISTICS when a scalar or multi-line table valued UDF is involved will cause the UDF to...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How to give triiger execution Permission

    OK, I am thinking you are seeing this error:

    Msg 297, Level 16, State 1, Line 1

    The user does not have permission to perform this action.

    By default, users cannot select from...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Schemas and objects in database

    minorgm (6/21/2012)


    Hi everyone

    I have a DB with objects belong dbo schema and user1 schema( dbo.table1, dbo.table2, user1.table1, user1.table2, etc) , when I login with sa, of course, I can see...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Debugger

    There are many reasons why the debugger may not start for you. The most common one is that your Server Login is not in the sysadmin Fixed Server Role. Do...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: T-sql to get the default backup path?

    clayman (6/21/2012)


    SQLRNNR (6/21/2012)


    EXECUTE [master].dbo.xp_instance_regread N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\MSSQLServer', N'BackupDirectory'

    Thanks.

    I'm aware of this but.. What I'm trying to achieve here is to avoid hard coded paths so that SP would be more...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Take the backup to Shared disk

    Suresh B. (6/20/2012)


    You cannot take backup using linked server. Linked server is meant for querying only.

    That is actually not true, although a Linked Server will not do what the OP...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 3,751 through 3,765 (of 7,164 total)