Forum Replies Created

Viewing 15 posts - 5,056 through 5,070 (of 5,685 total)

  • RE: Code that works in SQL Server 2005, but not in SQL Server 2008R2

    PFlorenzano-641896 (11/8/2010)


    Hello Craig!

    The OPTION (FORCE ORDER) worked great! Thank you so much! I'm going to run this in a test environment and execute an optimization plan against it.

    Pete

    Be...

  • RE: Select Weekend Dates

    Answer: Yes.

    Next Question: How?

    Next Answer: Please post DDL and sample data. See the first link in my signature for more help if you need it.

  • RE: Calculate rows in a tabel

    pop up a SSIS package with a single data flow item, then put in your three OLEDB sources and destinations in the flow.

    Define your source and target server in the...

  • RE: FLATTEN OUT ROW BASED STRUCTURE TO COMMA DELIMITED

    BaldingLoopMan (11/8/2010)


    ----RESULTS:

    --1,'Value1, Value2'

    --2,'Value1, ValueC'

    --3,'Value1, Value2,Value5'

    --1,'Value2'

    Need a results confirmation here, just making sure it's user error not expectation:

    ValueC came from where?

    There's no space between the second and third value in line...

  • RE: Calculate rows in a tabel

    I would usually port the tables over using either SSIS packages, or a one shot data import via the GUI.

    Going to need more information about the 'calculation' portion of what...

  • RE: SQL 101 for application programmers

    GilaMonster (11/8/2010)


    Certainly. When would you like us to get started on those 400-800 pages?

    I'm not joking. To cover any one of those topics in moderate detail is a large...

  • RE: SQL 101 for application programmers

    goodguy (11/8/2010)


    I believe that programmers, especially freelancers like me, need to embrace basic sql admin skills in order to leverage their output. The reason they have not done so so...

  • RE: SQL 101 for application programmers

    Grant Fritchey (11/8/2010)


    Let me put a question back at you. Since most of the topics you outline have extensive documentation, courseware, books, etc., how do you propose getting developers to...

  • RE: Help-Page life expectancy very low (avg around 10to 12secs)

    snoop123 (11/8/2010)


    we are using a SQL server 2005 SP3. i have been monitoring the pagelife expectancy and buffer cache hit ratio .the cache hit ratio is

    maintaining around 99 but...

  • RE: Are the posted questions getting worse?

    Been guilty of that a few times myself. Service Broker was my last occurence of that.

    Me: "Alright, I've got endpoints going cross domain, multi-dialog conversations...

  • RE: Please send me Interview Q &A

    GSquared (11/8/2010)


    For example, these days, I'd expect if you know Union, you should also know Intersect and Except.

    I guess I need to learn intersects. 😉

    And before I'd worry about isolation...

  • RE: Help in stored procedure

    If I'm understanding the question properly, swap the order of these items:

    SET @Quary = 'SELECT '+@stmt + ' from tblfinance'

    DECLARE db_cursor CURSOR FOR

    SELECT Column_Name from tblColumns order...

  • RE: how design query

    Bunty, you left out too much of the question for us to even point you in the right direction, because if I read this right, you CAN go from B...

  • RE: complex query

    MonsterRocks (11/7/2010)


    wht will be the query to find all the menu available in menu id 1?... any help?

    -- master table

    ---------------------------

    menu id menuname

    1 ...

  • RE: How to prevent the truncation of the leading zero in a varchar string?

    This works correctly for me:

    declare @miljul varchar(5)

    declare @y int

    set @y = year('1/1/2008');

    declare @yearpart varchar(4);

    set @miljul = '312'

    set @yearpart = convert(varchar(4), @y)

    print @yearpart

    set @miljul = RIGHT(@yearpart,2) + @miljul

    print @miljul

    Does...

Viewing 15 posts - 5,056 through 5,070 (of 5,685 total)