Forum Replies Created

Viewing 15 posts - 2,506 through 2,520 (of 8,731 total)

  • RE: Today's Random Word!

    HappyGeek (7/14/2016)


    djj (7/14/2016)


    Manic Star (7/14/2016)


    Reader

    LIbrary

    Data

    Capture

    Pokemon

  • RE: Compare multiple rows in same column

    Check the following post: http://www.sqlservercentral.com/Forums/FindPost1275453.aspx

    You could follow the whole discussion as well.

  • RE: Assistance with CROSS APPLY with multiple tables

    Why do you think that you need to use the APPLY operator? You should probably change the joins to the SQL-92 format, but that won't improve performance.

    The query seems to...

  • RE: Today's Random Word!

    crookj (7/14/2016)


    Ray K (7/14/2016)


    djj (7/14/2016)


    Ed Wagner (7/14/2016)


    ChrisM@Work (7/14/2016)


    Revenant (7/14/2016)


    djj (7/14/2016)


    Ed Wagner (7/14/2016)


    Luis Cazares (7/14/2016)


    crookj (7/14/2016)


    Ed Wagner (7/14/2016)


    Grumpy DBA (7/14/2016)


    Ed Wagner (7/14/2016)


    ThomasRushton (7/14/2016)


    Ray K (7/13/2016)


    Lucy

    Lastic

    Elastic

    Plastic

    Melt

    patty

    burger

    Beef

    Pork

    Porcupine

    Concubine

    Python

    Monty

    Full

    Metal

    Alchemist

  • RE: Query Question for New Guy

    j-1064772 (7/14/2016)


    A minor pet peeve on writing style: being accustomed to reading from left to right and top to bottom

    FROM Mission AS m

    LEFT JOIN [Primary] AS p ON...

  • RE: Converting Date

    No need to remove the dash (-).

    DECLARE @cDate nvarchar(50) = 'May - 2016' ;

    SELECT CONVERT( date, '01 - ' + @cDate );

  • RE: The View Insert

    Sean Lange (7/14/2016)


    Great question. Oddly after answering I decided to see if it really would correctly. I ran the create table and view scripts. Then ran the insert statement. It...

  • RE: Today's Random Word!

    crookj (7/14/2016)


    Ed Wagner (7/14/2016)


    Grumpy DBA (7/14/2016)


    Ed Wagner (7/14/2016)


    ThomasRushton (7/14/2016)


    Ray K (7/13/2016)


    Lucy

    Lastic

    Elastic

    Plastic

    Melt

    patty

    burger

  • RE: Nested quotes help

    This can get you a copy-paste-exec code. Be careful with it.

    DECLARE @command varchar(1000) ;

    SELECT @command = 'SELECT ''USE [?]'';

    select ''DROP USER '' + QUOTENAME( u.name)

    from master..syslogins l

    right...

  • RE: Are the posted questions getting worse?

    jasona.work (7/14/2016)


    ChrisM@Work (7/14/2016)


    SQLRNNR (7/13/2016)


    ChrisM@Work (6/29/2016)


    tindog (6/29/2016)


    ChrisM@Work (6/29/2016)


    tindog (6/29/2016)


    ChrisM@Work (6/29/2016)


    tindog (6/29/2016)


    Now Wales are after independence from England to 'safeguard' their future...despite the fact that they also voted in favour of Brexit...

  • RE: how to set NULLs to Zero

    Try this:

    SELECT cmoOrganizationID

    ,cmoName

    ,omlPartGroupID

    ,sum(CASE WHEN Year_ = 2013 THEN omlExtendedPriceBase ELSE 0 END) AS [2013]

    ,sum(CASE...

  • RE: Query Question for New Guy

    You need to be sure that the information is correct. In SQL queries, it's very easy to get information that seems correct but it isn't. I gave you what seemed...

  • RE: Columns to row

    peter 67432 (7/13/2016)


    Exacty! thanks!

    Do you understand how the code works? Please, post questions you might have or you might not be able to support it.

  • RE: Query Question for New Guy

    Try this, you might need to check if you need to use the start or the end of the connection or both. I don't know, so I just left that...

Viewing 15 posts - 2,506 through 2,520 (of 8,731 total)