Viewing 15 posts - 1,321 through 1,335 (of 5,504 total)
Dont let the fact that your current job is boring overrule any other criteria you would otherwise use when evaluating a new opprtunity:
Is the new job closer to your home?
Any...
July 6, 2011 at 2:36 pm
The error message usually include a line number to point you in the right direction.
It can be any of the three updates using a subquery.
The TOP 1 ORDER BY will...
July 6, 2011 at 2:29 pm
What are you trying to do?
It seems like you're looking for a join. Maybe something like this?
--UPDATE dbo.MasterStage
--SET Client =
...
July 6, 2011 at 2:02 pm
aaron.reese (7/6/2011)
The data gets extracted like this from the source systems in flat file format and loaded to the DW like...
July 6, 2011 at 10:46 am
duplicate post. no replies please.
Discussion already started here
July 6, 2011 at 5:36 am
Please have a look at the CrossTab article referenced in my signature for a different way to do it.
If you need additional help, please post table def and sample data...
July 5, 2011 at 12:31 pm
I second Johns alternatives and would prefer option 2.
To be a little more specific regarding the splitter function: search for DelimitedSplit8K.
The basic concept: shred the comma delimited list into a...
July 5, 2011 at 11:33 am
pwalter83 (7/4/2011)
Thanks, Lutz, I tried but could not work out how to use a calendar date and then storing the same. Do you know if there's another way to do...
July 5, 2011 at 10:25 am
Just check the definitions (straight from BOL):
ISO_WEEK datepart : ...Each week is associated with the year in which Thursday occurs. ...
and for DATEPART(week):
...When datepart is week (wk, ww) or weekday...
July 5, 2011 at 8:39 am
Here's a slightly different approach:
select
col1,
col2,
stuff(
(select ',' + col3
from @data d2
where d2.col1=d1.col1 and d2.col2=d1.col2 and d2.col4=d1.col4
order by col3
for xml path('')
),1,1,'') col3,
col4
from...
July 5, 2011 at 1:07 am
May I kindly ask to stop the discussion at that point?
I don't see any new (question related) information added since several posts.
Let's just agree to disagree and move on.
July 5, 2011 at 12:38 am
Are you aware the year 2009 did not have a February 29th?
July 4, 2011 at 5:41 pm
It seems like you're trying to compare a varchar and a datetime data type.
Since the datetime data type has a higher precedence than varchar, the varchar value needs to be...
July 4, 2011 at 4:25 pm
Viewing 15 posts - 1,321 through 1,335 (of 5,504 total)