Forum Replies Created

Viewing 15 posts - 5,746 through 5,760 (of 7,164 total)

  • RE: Eliminating duplicates of a pair

    djacobsen 84059 (6/29/2011)


    I'm not sure if I should create it's own topic, but I see this was recently answered (a rarity when you stumble upon a post from a search...

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

  • RE: CLR - Run a managed code on a client computer

    ChacMoll (6/29/2011)


    I was reading an article from MSDN which says that a stored procedure created with managed code can run on a client computer, I've been looking for several sites...

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

  • RE: Change FillFactor back to 0 on DB

    In your estimation is Page Splits/Sec at all useful to look at within an overall picture (e.g. combined with other perf indicators/counters, et al.) for looking into adjusting index fill...

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

  • RE: openrowset() with stored proc and temp table

    Try this please and see what happens:

    create proc openrowset4

    as

    begin

    if 1=0 -- no-op

    ...

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

  • RE: hi

    drew.allen (6/29/2011)


    opc.three (6/29/2011)


    UNION ALL used how it was just shown in your post (as a 2005-compliant row constructor equivalent to VALUES() ) will allow you to use the APPLY technique...

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

  • RE: The Age of Software

    Eric M Russell (6/29/2011)


    TravisDBA (6/29/2011)


    opc.three (6/28/2011)


    IceDread (6/27/2011)


    I know.. but I still think it's a big flaw.

    I am curious...I am not sure what you mean. Maybe it would help if I...

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

  • RE: Database Mirroring Error with configuration

    PortQry has worked well for me in the past:

    http://support.microsoft.com/kb/832919

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

  • RE: File Group backup & restore in SQL Server 2005

    As I understand it (not an expert at backup/restore) you cannot restore a secondary filegroup unless the primary has already been restored. If you need this sequence regularly I would...

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

  • RE: hi

    The two usages of UNION ALL you're comparing a VERY different.

    UNION ALL used how it was shown earlier in the thread will cause multiple scans of the data.

    UNION ALL used...

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

  • RE: How to retrieve all objects a user owns?

    USE database_name

    GO

    SELECT *

    FROM sys.objects

    WHERE USER_NAME(OBJECTPROPERTY(OBJECT_ID, 'ownerid')) = 'the_owner_name' ;

    GO

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

  • RE: Dynamic OPENQUERY, using EXEC with SSIS data flow task

    Pam Brisjar (6/28/2011)


    Basic situation:

    We need to get data from DB2 into SQL Server. We do this via OPENQUERY and an SSIS data flow task.

    However, I'd like to parametrize the...

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

  • RE: Dynamic OPENQUERY, using EXEC with SSIS data flow task

    Phil Parkin (6/28/2011)


    You could try returning the columns from a stored proc and using that as the source for your data.

    You'll need to include a dummy select as the first...

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

  • RE: hi

    Itzik has it down, use the APPLY operator for this. UNION ALL will scan the data multiple times, APPLY will only scan it once, and it's cleaner than the CROSS...

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

  • RE: Searching with like operator(billions of rows)

    Here is your query rewritten using ANSI-92 JOINS:

    SELECT t1.id,

    t1.col1,

    t1.col2,

    ...

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

  • RE: How can I get the database backup name with timpstamp

    muthukkumaran Kaliyamoorthy (6/29/2011)


    ...I hope you'll try.

    I strongly second that forsqlserver!

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

Viewing 15 posts - 5,746 through 5,760 (of 7,164 total)