Forum Replies Created

Viewing 15 posts - 5,341 through 5,355 (of 8,761 total)

  • 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

  • RE: DBCC CHECKDB - snapshot error

    jimmycjen (5/8/2015)


    We run DBCC CHECKDB as a job in the evening when there is less activities. All the jobs are run with a domain account that have local administrator rights....

  • RE: Today's Random Word!

    crookj (5/8/2015)


    Revenant (5/8/2015)


    djj (5/8/2015)


    DonlSimpson (5/8/2015)


    Ed Wagner (5/8/2015)


    crookj (5/8/2015)


    Ed Wagner (5/8/2015)


    djj (5/8/2015)


    TomThomson (5/8/2015)


    Eirikur Eiriksson (5/8/2015)


    Stuart Davies (5/8/2015)


    SQLRNNR (5/7/2015)


    clinique

    cosmetic

    Code

    Morse

    Crossing (Road outside this building "Morse Crossing")

    Road

    High (road)

    Ethics

    Virtue

    Honor

    Strength

    Character

    Lead

  • RE: getting string out of data from a column

    sqly2kdba (5/8/2015)


    I apologize for not being clear

    I have to pull this data from table with 1000 rows like this

    Wondering , where in the query I plug in the actual column...

  • RE: getting string out of data from a column

    sqly2kdba (5/8/2015)


    thank you.is this how I replace my column names?when I do I get the following errors

    SELECT

    sys_id('(HostSystemIdentificationInfo/identifierValue/text())[3]','varchar(50)')

    ,sys_id('(HostSystemIdentificationInfo/identifierValue/text())[4]','varchar(50)')

    FROM host_sys);

    sys_id is not a recognized...

  • RE: Are the posted questions getting worse?

    GilaMonster (5/8/2015)


    Lynn Pettis (5/7/2015)


    I really want to say "Write it yourself. We aren't here to do your work for you."

    For a couple seconds I thought that was directed at...

  • RE: Today's Random Word!

    Stuart Davies (5/8/2015)


    SQLRNNR (5/7/2015)


    clinique

    cosmetic

    Code

  • RE: Authentication with two (or more) databases on the same instance

    Sorry I misread the question. The server will check the permissions of the login account in the second database unless Cross-database ownership is enabled and it is the owner of...

Viewing 15 posts - 5,341 through 5,355 (of 8,761 total)