Forum Replies Created

Viewing 15 posts - 6,856 through 6,870 (of 8,753 total)

  • RE: How to show rows in column

    punnaiah.pendyala (10/5/2014)


    Hi

    Use this

    select min(wan),max(wan),subscriber from retail group by subscriber having count(*)>1

    Will not work if the earlier wan is higher than the later wan as noted in the previous posts.

    😎

  • RE: How to show rows in column

    The assumption made in the code was that the WAN values would be in an increasing order, as that's correct according to the last sample, one has to add a...

  • RE: Drop Temp Tables from INFORMATION_SCHEMA.TABLES

    Quick thought, if the table/object is not in either the user's default schema or in the dbo schema, the reference to the table must be fully schema qualified

    😎

    (Changes in bold)

    DECLARE...

  • RE: OUTPUT in Stored Proc

    Quick thought, the output parameter must be declared with the output keyword

    😎

    ALTER PROCEDURE [dbo].[spTelling]

    (

    @scannummer Nvarchar(13)-- input only

    @myOutputParam INT OUTPUT -- output parameter

    )

    AS

    BEGIN

    Then the keyword is used...

  • RE: How Many Different Random Numbers?

    TomThomson (9/30/2014)


    Eirikur Eiriksson (9/30/2014)


    Sounds like a contradiction, an event which in it self cannot be considered random just because we do not comprehend the causes, resulting in another event (for...

  • RE: Conversion of varchar to datetime

    ramana3327 (10/5/2014)


    It is showing try_parse is not a recognized built-in function

    What is the output of

    SELECT @@VERSION

    on your system?

    😎

  • RE: What is the Powershell warning and How to get rid of this Warning??

    SQL-DBA-01 (10/5/2014)


    WARNING: Failed to load the 'SQLAS' extension: An exception occurred in SMO while trying to manage a service. --> Failed to retrieve data for this request. --> Invalid class

    This...

  • RE: SSIS (FORLOOP)

    Duplicate post, respond here

    😎

  • RE: SSIS (FORLOOP)

    Duplicate post, respond here

    😎

  • RE: for loop (SSIS 2008 r2)

    challakarthik (10/5/2014)


    Hi ,

    I have a scenario like ........I have 6 flat files(Country1,Country2,Country3,.......Country6) in the source and i need to fetch the records of Country1 flat file to Country1 table in...

  • RE: db created in sql server 2005 to Attach in sql server 2008?

    armm1388 (10/4/2014)


    Hi

    I created a database in sqlserver 2005 . now I wants to attach it in sqlserver 2008. But I would be face to error:

    Failed to retrieve data for this...

  • RE: How to show rows in column

    desperadomar (9/28/2014)


    @Eirikur Eiriksson

    Just a quick question.

    You used the MAX(wan)<>MIN(Wan) instead of COUNT(wan)>1

    When I checked the estimated execution plan there is one less operator(compute scalar) in the first operation...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (10/4/2014)


    Eirikur Eiriksson (10/4/2014)


    Is it just me or does this smell like a spam? A quick search returned few similar postings referencing the same vendor on...

  • RE: Long running MERGE

    Luis Cazares (9/19/2014)


    I need to wait for some maintenance tasks to complete (including moving the instance to a not-shared node). After everything completes, I'll give it a try. That was...

  • RE: how to shutdown ?

    ...or from a command promt

    net stop "instance name"

    😎

Viewing 15 posts - 6,856 through 6,870 (of 8,753 total)