Forum Replies Created

Viewing 15 posts - 7,411 through 7,425 (of 8,753 total)

  • RE: export table

    Nita Reddy (8/18/2014)


    I want to export one table but text contains ',' so can I use double " ? I don't see option when I select delimiter how should I...

  • RE: Please validate the script

    Looks to me that it does what it says on the tin.

    😎

    Inspecting the filter, we find:

    WHERE dp.class < 4

    Listing permissions for

    0 = Database

    1 = Object...

  • RE: How to find the root cause of tempdb log file increasing

    Wison (8/22/2014)


    Hi all,

    I found the tempdb log file size of one instance increased to 200 GB.

    how can i get the root cause of the issue?

    any answer is appreciated.

    thanks.

    Quick suggestion, look...

  • RE: Matching the value after using STUFF

    Here is a quick solution using CHARINDEX

    😎

    USE tempdb;

    GO

    CREATE TABLE [dbo].[x_JobMatching](

    [CVID] [int] NULL,

    [JobNoticeID] [int] NULL,

    [isMatch] [bit] NULL,

    CONSTRAINT [x_JobMatching_UQ1] UNIQUE NONCLUSTERED

    (

    [CVID] ASC,

    [JobNoticeID] ASC

    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE =...

  • RE: extracting column values when a part of the column value is known

    Luis Cazares (8/22/2014)


    Note that you might replace strings you don't want them to be replaced.

    INSERT INTO @test-2(TEST_STRING)

    VALUES

    ('I am a bad Gal')

    ,('I am a good Gal')

    ,('Oh my goodness! There''s no...

  • RE: Are the posted questions getting worse?

    GilaMonster (8/22/2014)


    TomThomson (8/22/2014)


    Haven't noticed him recently on SQLServerCentral, though :cool:.

    He dropped in recently to state that indexes were only needed in badly designed databases.... 🙁

    Are indexes not ANSI compliant?

    😎

  • RE: Are the posted questions getting worse?

    Lynn Pettis (8/22/2014)


    Eirikur Eiriksson (8/22/2014)


    Lynn Pettis (8/22/2014)


    And Mr. Celko is back with his baseball bat. :Whistling:

    In more than one thread. :Whistling:

    Nice to see that you are having a friendly chat...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (8/22/2014)


    And Mr. Celko is back with his baseball bat. :Whistling:

    In more than one thread. :Whistling:

    Nice to see that you are having a friendly chat with your best pal:w00t:

    😎

  • RE: SQL Server JOINS

    shaimaa.tarekelshoeiby (8/22/2014)


    Thank you all for your replies 🙂

    Before copying any create or insert data, here is an example

    Select * from Culture --2327 rows

    Select * from Trial --6793 rows

    Select *...

  • RE: primary key discussion

    Lynn Pettis (8/22/2014)


    Eirikur Eiriksson (8/22/2014)


    Lynn Pettis (8/22/2014)


    Even if you use a natural key as the primary key, I would still consider adding a synthetic id to the tables and making...

  • RE: primary key discussion

    Lynn Pettis (8/22/2014)


    Even if you use a natural key as the primary key, I would still consider adding a synthetic id to the tables and making it a non nullable...

  • RE: User Defined Functions: Possible to include comments in parameter intellisense?

    Grant Fritchey (8/22/2014)


    Red Gate SQL Prompt will do that.

    "that" being a) writing the function b) write the comments c) populate the extended properties d) all of the above (turbo version):-D

    😎

  • RE: User Defined Functions: Possible to include comments in parameter intellisense?

    Maxer (8/22/2014)


    If you use the LEFT() function for example it provides intellisense support for some of the required parameters.

    Is there a way to get that same descriptive help text in...

  • RE: SQL Server JOINS

    gbritton1 (8/22/2014)


    I don't think that's a Cartesian product. If it were, you would have 89 (8*10) rows of ouput.

    A CROSS JOIN would give you a Cartesian Product

    A CROSS JOIN...

  • RE: The best way to include zero string and null value

    Luis Cazares (8/22/2014)


    Hey Eirikur,

    You don't even need that function to get the exact same results.

    You are right (of course) Luis, I just quickly copied an example I still had open...

Viewing 15 posts - 7,411 through 7,425 (of 8,753 total)