Forum Replies Created

Viewing 15 posts - 46 through 60 (of 89 total)

  • RE: Need help in Query

    I haven't had a go myself, but it looks like what you need can be achieved using a table valued function, to which you pass a start and end date...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: DTSX Packages run remotely via Scheduled Tasks

    Hi there,

    It sounds like you've had it work on SP3 since you upgraded. What's the server OS, 2000?

    What user were you logged in on the machine as...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: SQL Query return value in a field if no results found..

    If your calendar table will always have rows in for a given date, just change your join to a left outer and use coalesce for when your equipment column is...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: Trimming unwanted characters from string

    Florian Reischl (4/9/2009)


    So I think the most simple and efficient solution would be

    Oh wow, so simple... :w00t:

    (Obviously k.i.s.s. has stopped ringing in my ears for some reason)

    I was...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: Trimming unwanted characters from string

    Nice Flo, much neater! Think I need to go read up on pattern matching... 😉

    Both our examples fall foul of this set though (mine on the later slash in...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: Trimming unwanted characters from string

    For a one off you can use a combination of PATINDEX and LEFT for a quick and dirty way of trimming out the names you need. As below, the...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: Fetch Row by Row with out using cursor

    shalini_pdi (4/29/2008)


    Hi,

    Could any explain how to fetch row by row with out using cursor.

    Like everyone has said, you need to give at least demo table structures and what gets...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: SSIS Custom dedupe/counter at data import - Need inspiration

    Ah, in that case, although a cursor or table variable would probably be the obvious answer, try the following and see if it hits the spot. It adds the...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: SSIS Custom dedupe/counter at data import - Need inspiration

    piet_dj (4/24/2008)


    Hi All,

    I have created an SSIS package to import data from an Excel file, then lookup additional info from an SQL datatable (based on multiple criteria), then export to...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: Avoiding unnecessary I-O on checkpoints ??

    Jim Wall (4/22/2008)


    I would suggest adding a new database for this tables using the simple recovery model to hold the tables. That way the tables will survive a reboot which...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: Rebuild Master

    I liked this question, because shamefully I didn't know that. 😀

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: Avoiding unnecessary I-O on checkpoints ??

    The tables definitely contain data that doesn't need to be persistent, but the server is shared by quite a few different systems...

    What's the difference, security wise, between physically creating tables,...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: How to check the table columns thru T-sql command

    Robert (4/21/2008)


    The OP wrote a vague question. If he/she doesn't take the effort to clear doubts, why do you keep guessing?

    I'm guessing that wasn't the right side of bed that...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: syntax error on '`'

    Your initial code was almost an UPDATE statement, not sure how you got the error you say you got from running the code you posted as it was neither a...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

  • RE: Identity Seed Error

    I think GSquared's Row_Number() solution would be the way forward as you have control. An identity column may cause you issues down the line.

    However, as you already have data...

    --------
    [font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]

Viewing 15 posts - 46 through 60 (of 89 total)