Forum Replies Created

Viewing 15 posts - 5,326 through 5,340 (of 8,753 total)

  • RE: Today's Random Word!

    crookj (5/11/2015)


    Ed Wagner (5/11/2015)


    SQLRNNR (5/11/2015)


    rose

    Name

    Alias

    Ambiguity

  • RE: Space needed for clustered index rebuild

    Jeff Moden (5/10/2015)


    Have you actually ever done a measurement on this subject? I could be wrong in some instances but it would appear the space savings are not true when...

  • RE: Space needed for clustered index rebuild

    GilaMonster (5/10/2015)


    That said, I'm not sure why one would CREATE ... WITH DROP_EXISTING a clustered index without intending to change keys, sort order or the like.

    Most common use I see...

  • RE: Space needed for clustered index rebuild

    GilaMonster (5/10/2015)


    Eirikur Eiriksson (5/10/2015)


    Ken Davis (5/9/2015)


    I have a large table in a large database. The DB = 1.2TB and the big table is 70% of the DB or 840GB....

  • RE: SELECT on column name from query's result set in same query?

    zogher (5/9/2015)


    mister.magoo (5/9/2015)

    If the real situation is more complex, then please let us know.

    Hi,

    Thanks for the reply.

    Couple of things to note (yes, my example is rather simplified), I will try...

  • RE: Merge Replication problems

    rkrpat (5/10/2015)


    Hi,

    We are working in a Merge replication environment where we have SQL Server 2005, 11 publications and 2 subscribers.

    We used to get lot of incidents from the Application...

  • RE: Stored Procedure -Question-

    Quick suggestion, use OUTPUT parameter for the procedure

    😎

    /* Procedure #1 */

    CREATE PROCEDURE [dbo].[GetUserIDbyUserName]

    @UserName nvarchar(100)

    ,@UserID uniqueidentifier = NULL OUTPUT

    AS

    SELECT

    @user-id...

  • RE: Space needed for clustered index rebuild

    Ken Davis (5/9/2015)


    I have a large table in a large database. The DB = 1.2TB and the big table is 70% of the DB or 840GB. I would...

  • RE: find same combination of rows.

    Quick solution which should be enough to get you passed this hurdle

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID(N'dbo.TBL_A') IS NOT NULL DROP TABLE dbo.TBL_A;

    CREATE TABLE dbo.TBL_A

    (

    nRef ...

  • RE: Today's Random Word!

    Jeff Moden (5/9/2015)


    Revenant (5/9/2015)


    TomThomson (5/9/2015)


    Eirikur Eiriksson (5/9/2015)


    SQLRNNR (5/8/2015)


    eros

    Freyja

    FΓ³lkvangr

    Field

    Ninth

    Sequence

  • RE: Get rows and sum in joined table

    petervdkerk (5/9/2015)


    A little explanation:

    [giftregistry] is the general description of the list, the bridal couple in this is the only owner. They can add a text they want to send to...

  • RE: getting string out of data from a column

    Add a CTE for the conversion, then you can use the same code

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID(N'dbo.TBL_XML_SAMPLE') IS NOT NULL DROP TABLE dbo.TBL_XML_SAMPLE;

    CREATE TABLE dbo.TBL_XML_SAMPLE

    (

    XS_ID ...

  • RE: DBCC CHECKDB - snapshot error

    One more thing, can you run DBCC CheckDB('[database name]') WITH NO_INFOMSGS, ALL_ERRORMSGS and post the full unedited output?

    😎

  • RE: Get rows and sum in joined table

    Quick questions:

    😎

    1) The amount column in giftregistrypurchase table, is that the quantity of items?

    2) In the same table, is the itemid the giftregistryitems.id?

    Looking at the schema, I suspect that either...

  • RE: Today's Random Word!

    SQLRNNR (5/8/2015)


    eros

    Freyja

Viewing 15 posts - 5,326 through 5,340 (of 8,753 total)