Forum Replies Created

Viewing 15 posts - 4,621 through 4,635 (of 7,164 total)

  • RE: How to you use dbmail with BCP

    nitinuniyal (4/3/2012)


    [font="Tahoma"]Thanks for the Reply..

    But what i want is to mail the results in Excel format, if I only define the SP in query then it will only give me...

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

  • RE: Process Records in XML Column

    Gerbera (4/4/2012)


    I have a huge nodes in XML. So my SELECT statement goes little long..

    My approach : -> XML column to recordset, For Each Recordset-->Dataflow(XML Source from Variable to...

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

  • RE: How to get notified if new Email gets added to existing Table in SSIS / SQL?

    It sounds to me as if your proposed archive-table will, after the each set of staging data has been added to it, will be the superset of all emails that...

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

  • RE: SQL 2012 AlwaysOn - SQL logins

    I am just getting up to speed in bits and pieces on SQL 2012. From Introducing SQL Server 2012 AlwaysOn Failover Clustering by Jonathan Kehayias instance-level impacts can be tracked...

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

  • RE: Return a value from a stored procedure

    TeraByteMe (4/3/2012)


    Preferred in your mind but in your mind you don't know what my table structure and business requirements are.

    Very true, just having a discussion here 🙂

    Preferred in the sense...

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

  • RE: Exclude rows from the pipeline

    I like your idea about bringing SERVER2's data into tempdb on SERVER1. That should scale up just fine too. Thanks for having a look.

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

  • RE: Return a value from a stored procedure

    Fair enough, but an IDENTITY would still be the preferred way to generate a new file's ID provided gaps in the sequence were tolerable. Managing you're own ID-generation scheme can...

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

  • RE: How to you use dbmail with BCP

    nitinuniyal (4/2/2012)


    Hi All,

    I am tryig to run the below query but its failing while running. I am trying to send the query results in excel via dbmail.

    [font="Courier New"]EXEC msdb.dbo.sp_send_dbmail

    @recipients=N'nuniyal@shb.com.sa',

    @body= 'Hi...

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

  • RE: How to get notified if new Email gets added to existing Table in SSIS / SQL?

    MSBI Learner (4/3/2012)


    Scenario: We get EmailNames from our Source Systems and adding them in a table at Staging. Now whenever any new email gets added to the existing emails, I...

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

  • RE: Error: 1204, Severity: 19, State: 4 - DBCC SHRINKFILE

    stanley wong-314201 (4/3/2012)


    So, should i say when running the DBCC SHRINKFILE , if sum(all type of objects virtual memory committed) larger then 2GB, the error should be generated ?

    I...

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

  • RE: Return a value from a stored procedure

    TeraByteMe (4/3/2012)


    This seems to work and has the added benefit of incrementing the ID by one which will work nicely with my next insert statement:

    CREATE PROCEDURE [dbo].[spGenerateID] ...

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

  • RE: Return a value from a stored procedure

    TeraByteMe (4/3/2012)


    Quick and probably easy answer for most of you. I want to created a stored procedure that simply is run and returns the max ID value from a table....

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

  • RE: TempDB space issues and configuring

    rarara (4/3/2012)


    2) the files are different sizes - would having them exactly the same (as recommended in a few places) allow a round-robin utilisation and so prevent the error, or...

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

  • RE: Error: 1204, Severity: 19, State: 4 - DBCC SHRINKFILE

    This will show you all allocations against VAS:

    SELECT type,

    SUM(virtual_memory_committed_kb) AS virtual_memory_committed_kb,

    SUM(multi_pages_kb) AS multi_pages_kb

    FROM...

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

  • RE: Error: 1204, Severity: 19, State: 4 - DBCC SHRINKFILE

    Do you have another server where you can restore the database and try shrinking the files there?

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

Viewing 15 posts - 4,621 through 4,635 (of 7,164 total)