Forum Replies Created

Viewing 15 posts - 76 through 90 (of 619 total)

  • RE: Sequences I

    deleted due to embarrisment.

  • RE: Benefits of having Mirroring and Clustering in the same place

    Jayanth_Kurup (3/18/2012)


    however you could consider setting database mirroring to high performance mode than high safety.

    Just my 2c worth but i wouldnt go to HP mode. You are mirroring 'pressumably' for...

  • RE: Run SQL script automatically

    you couldnt backup to ftp site (i dont think) but you could couple it with something like xcopy, roboxopy or filezilla.

    When you say ftp, is that remote? If the...

  • RE: Run SQL script automatically

    in that case make it out to:

    Mickey Mouse

    @

    The Fair'n'Appriciative Co LTD.

  • RE: Run SQL script automatically

    Ok the commented and slightly modded backup script is below:

    SET NOCOUNT ON

    -- declaration of temp table

    DECLARE @databases_table TABLE(server VARCHAR(50),dbname VARCHAR(50))

    -- populate a temp table with db's to be backed up

    INSERT...

  • RE: Run SQL script automatically

    What I meant by 'SP' is 'stored procedure'. I asked you if you could build one.

    From the very limited info you have given the SP creation code would be:

    USE...

  • RE: Run SQL script automatically

    Do you know how to build the SP? if not, upload the code.

    As far as scheduling is concerned, you can use windows scheduler and sqlcmd.

    If your not sure, upload the...

  • RE: TSQL query XML file

    Did you have any luck with this?

    I tried the following:

    DECLARE @xmlFile XML

    SET @xmlFile = (SELECT * FROM OPENROWSET(BULK 'c:\myxml.xml', SINGLE_CLOB) AS xmldata)

    SELECT ref.value('currentdb[1]', 'INT') AS DatabaseID

    FROM @xmlFile.nodes('EVENT_INSTANCE/TextData/deadlock-list/deadlock victim/process list/*')...

  • RE: ? SSIS not reading all data from column

    If the source db is 2k then very likely bids 2k8 might have issues. Did you try 2k5?

    The other thing to consider is user data types (if thos existed in...

  • RE: ? SSIS not reading all data from column

    Natalie,

    Have you tried deleting your tasks and cm's and just trying something simple like a copy to csv?

    I have had issues in the past where cm's for flat file destinations...

  • RE: Run SQL script automatically

    Aidan,

    John has given good advice. Reading the thread, it strikes me that this might be a new role or task for you. Can you tell us what you need...

  • RE: SQL Server Database Space monitoring

    I posted two scripts. The second to sp_GetFullFiles. So you need to have deployed that to your target servers (if you intend to run it as is).

    As far as using...

  • RE: SQL Server Database Space monitoring

    We use this to shrink large databases accross many environments via LS's. Donnt have time to customise it to your scenario, but with a bit of tweaking it does what...

  • RE: SQL Agent not starting

    I would agree with David.

    If the local service is the agent service account and local admins are removed from sysadmin that would cause issues.

    What is thhe service account for...

  • RE: Adding Linked Servers

    For the ease of troubleshooting (and since you are using SQL logins anyway) can you please use (if you have it) or dl from MS if you havent SP_HELP_REVLOGIN (specific...

Viewing 15 posts - 76 through 90 (of 619 total)