Forum Replies Created

Viewing 15 posts - 5,656 through 5,670 (of 7,164 total)

  • RE: Linked Server: No transaction is active

    When you use a Linked Server in a trigger you're starting a transaction on the remote server within the context of an already running transaction in the local server...which requires...

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

  • RE: Group using column name or table attributes

    Please post DDL, DML to create sample data, expected results and what you have tried so far.

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

  • RE: Looking to find Express instance of SQL

    get-SqlServerList returns the instance name as part of the results. All I see you need to do is connect to each instance returned by that call and select the Edition...

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

  • RE: help with this error plz

    sravnmaganti (7/5/2011)


    can any one explian why i am getting this error..........

    Package Validation Error (Package Validation Error)

    ===================================

    Error at Data Flow Task [OLE DB Destination [5779]]: Column "creation_tm" cannot convert between unicode...

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

  • RE: SSIS from stored procedure

    radb4u (7/5/2011)


    Hi, I have to execute the SSIS package from stored procedure.

    Why?

    Is there any simple way other than xp_cmdshell?

    You could put the call to your SSIS package in a SQL...

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

  • RE: t-sql to add a user to ALL DB's on the server....

    As an alternative for you and others dropping by you can also fully qualify your proc reference like this:

    SET @DUMMY = 'EXEC ' + @DB_Name + '.sys.sp_grantdbaccess ' +

    ...

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

  • RE: joining two tables and inserting a non-xml data type column into an xml data type column

    You can use this when assigning the value to the column in your UPDATE statement:

    destination_column_name = CAST(source_column_name as XML)

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

  • RE: SQL Server Memory usage

    It's risky to run with the default SQL Server max memory setting (unlimited). Please have a look at this article: http://www.sqlservercentral.com/blogs/glennberry/archive/2009/10/29/suggested-max-memory-settings-for-sql-server-2005_2F00_2008.aspx

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

  • RE: Trigger to Insert data into a table and execute Stored procedure based on if condition

    xXShanXx (7/5/2011)


    is it possibe on triggers to directly insert into the remote tables ?

    Yes, but I am not sure what WC is referring to. I can't make a connection as...

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

  • RE: SQL Grouping Data

    Query from original post reformatted:

    SELECT TOP 1

    h.Invoice_id AS Invoice_Id,

    h.IssueDate AS [Invoice Date],

    h.Optional_1 AS [Division Buyer],

    ...

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

  • RE: Hobby Project - Anyone got an idea how to solve this - see inside

    Please post DDL, DML to create sample data, expected results and what you have tried so far.

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

  • RE: Are the posted questions getting worse?

    SQLkiwi (7/5/2011)


    Just so we're all clear on this, I'm interested in how you justify things like attending the summit to the person paying. I have heard of some people...

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

  • RE: Database users permissions in SQL Server 2005

    beejug1983 (7/5/2011)


    This stored procedure will fix the orphaned users, if i am not wrong but what about the permissions and rights of those database users which were on production and...

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

  • RE: Increasing CPUs hurts Perf

    I can't help thinking about how this query might have been faster on the old hardware given the same plan (can you confirm the plan looked the same on the...

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

  • RE: Increasing CPUs hurts Perf

    Ninja's_RGR'us (7/5/2011)


    Gianluca Sartori (7/5/2011)


    Ninja's_RGR'us (7/5/2011)


    Gianluca Sartori (7/5/2011)


    Looks like an estimated plan...

    However 4 MLN rows from both tables is a huge load. I suspect it would run much better with a...

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

Viewing 15 posts - 5,656 through 5,670 (of 7,164 total)