Viewing 15 posts - 46 through 60 (of 89 total)
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]
April 30, 2009 at 8:10 am
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]
April 30, 2009 at 7:16 am
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]
April 29, 2009 at 10:19 am
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]
April 9, 2009 at 7:54 am
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]
April 9, 2009 at 6:07 am
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]
April 9, 2009 at 5:22 am
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]
April 29, 2008 at 6:20 am
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]
April 25, 2008 at 4:10 am
piet_dj (4/24/2008)
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]
April 24, 2008 at 8:36 am
Jim Wall (4/22/2008)
--------
[font="Tahoma"]I love deadlines. I like the whooshing sound they make as they fly by. -Douglas Adams[/font]
April 24, 2008 at 7:41 am
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]
April 22, 2008 at 2:41 am
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]
April 21, 2008 at 5:25 am
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]
April 21, 2008 at 4:52 am
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]
April 18, 2008 at 8:05 am
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]
April 18, 2008 at 7:40 am
Viewing 15 posts - 46 through 60 (of 89 total)