Forum Replies Created

Viewing 15 posts - 8,641 through 8,655 (of 15,381 total)

  • RE: Are the posted questions getting worse?

    L' Eomot Inversé (4/18/2013)


    What concerns me most though is one thing that Donna said: that this has made he think twice before posting a request for help. That surely...

  • RE: How do I query dates

    britinusa (4/18/2013)


    Seems simple enuf?

    So I have a datetime field in a db which happens to be 04/10/2013

    I do a

    select * from orders

    where

    create_date like '%/10/%'

    returns nothing.

    So clear not...

  • RE: avoiding duplicates in comma separated values column

    kalpit_yellow (4/18/2013)


    Following script by Ashish Jain fixed my issue 🙂

    CREATE FUNCTION dbo.DistinctList

    (

    @List VARCHAR(MAX),

    @Delim CHAR

    )

    RETURNS

    VARCHAR(MAX)

    AS

    BEGIN

    DECLARE @ParsedList TABLE

    (

    Item VARCHAR(MAX)

    )

    ...

  • RE: Is there a TVP equivalent to an optional parameter?

    Stephanie Giovannini (4/18/2013)


    I'm trying to help my client solve an issue with frequent "breaking changes" to procedures that use table-valued-parameters.

    The calling code is in a highly branched environment, but...

  • RE: Are the posted questions getting worse?

    patrickmcginnis59 10839 (4/18/2013)


    Also, keep in mind, many of the "highly rated" posters actually get points for posting rote replies like "see this post for instructions on how to submit your...

  • RE: avoiding duplicates in comma separated values column

    kalpit_yellow (4/18/2013)


    Hi,

    I am working on stored proc to update master table from temp table and getting following issue.

    temp_table

    sa, Logger, Reader

    master_table

    sa, Reader

    Reqired_Output_On_master_table

    sa, Reader, Logger

    So i only want to add...

  • RE: Update on ID's

    You haven't posted anywhere near enough details to offer much help here. I don't even know what the question is. I don't know that in this case you need to...

  • RE: HOW TO MAKE DYNAMIC PIVOT FOR THIS TABLES WHEN I PASS ONLY ONE PARAMETER @DID INT?

    sivajii (4/18/2013)


    i go throughed the links Sean Lange

    they are fine but i am not able to implement this kind of dynamic solution for my store procedure

    so plz tell...

  • RE: TOP 25% rows by Weightage

    chintan.floydian (4/18/2013)


    Thanks very much guys...Unfortunately I'm still on 2008

    I've tried the below and it works, but I'm not sure how to achieve this through the quirky update as advised in...

  • RE: The Elusive Conditional WHERE Clause

    SCGJohn (4/18/2013)


    Thanks for posting this, I'm pretty sure you've resolved a long standing issue I've had.. For those of us who use Stored Procedures exclusively, this is a great...

  • RE: Searching Database tables for a specific value within a database field

    ScottPletcher (4/17/2013)


    The code's not really ready to be used in dev or QA either.

    NO reason to search the same table multiple times, esp. not once per column.

    Instead, should do a...

  • RE: query Suggestion please

    Again, if you can post something we can work with we can help you. I would suggest looking at MERGE. It will likely be a good choice here. Certainly a...

  • RE: Number of Active Users

    Sqlism (4/17/2013)


    1)find number of users on a database in sql server 2012

    2)find number of users accessing in sql server 2012

    3)find users using a specific object on a database inn sql...

  • RE: join aggregated quantity to the breakdown quantity

    jerry 5150 (4/17/2013)


    Thank you all for your suggestions, and I apologize for not reading the instructions on how to post before posting. I think your replies have clarified for me...

  • RE: join aggregated quantity to the breakdown quantity

    patrickmcginnis59 10839 (4/17/2013)

    Oops you're only updating 'ABC' from that one and 'XYZ' remains 'Pending'. I think its because the CTE only really returns 1 row.

    :blush:

    Ahh yes indeed. DOH!!! Easy enough...

Viewing 15 posts - 8,641 through 8,655 (of 15,381 total)