Viewing 15 posts - 5,176 through 5,190 (of 14,953 total)
Start out by building a calendar table with all the dates you want to check, and which week each one is in. (I keep a 10-year calendar table handy...
January 31, 2011 at 11:40 am
WayneS (1/28/2011)
Tom.Thomson (1/28/2011)
January 31, 2011 at 11:19 am
If you want the data in a particular order, use an Order By clause. Otherwise, SQL will give you whatever order it comes up with, which may or may...
January 31, 2011 at 11:15 am
I'm assuming "cast(column as XML)" has been tried and didn't work. If so, I'd assume that SQL Server won't do this for you, and the third-party tool will be...
January 31, 2011 at 11:13 am
What defines an "empty target"?
You're giving WAY too little data here to be able to help you on this.
January 31, 2011 at 8:45 am
Change the name of "@iNew", either in the dynamic SQL or in the calling procedure. You're using that one twice.
January 31, 2011 at 8:44 am
shankarntu (1/28/2011)
Thank you so much. i got the result.
And one more help.
i want to update the same table to Hour slot
For eg,
1/20/2011 12:00 and 1/20/2011 12:30 this need...
January 31, 2011 at 8:36 am
I guess I'm used to SSMS 2005. No "Properties" on the right-click menu in that, at least on my machine. I see one in SSMS 2008 now that...
January 31, 2011 at 8:34 am
The possibility of a missing end value is why I use an inline subquery instead of the CTE method.
January 31, 2011 at 7:30 am
amenjonathan (1/28/2011)
January 28, 2011 at 8:58 pm
The Thread (1/28/2011)
We are not slow. We will be fed with more posts! Our plans are unstopable! We must be posted to!
Welcome back.
I guess.
January 28, 2011 at 1:39 pm
Do they all have the same schema and name? If so, you'll need to replicate them into three different databases (so far as I know). You can then...
January 28, 2011 at 12:08 pm
I've always used replication for that. Easy enough to set up and manage, and it works well.
January 28, 2011 at 10:52 am
IsNull will return a secondary value if a value is null. No row = no column value = IsNull doesn't handle that.
Usually, handling of empty datasets is something that's...
January 28, 2011 at 10:50 am
I'm not sure I follow you on this.
Transactional Replication has one source and one target. It seems like you're talking about two sources.
January 28, 2011 at 10:46 am
Viewing 15 posts - 5,176 through 5,190 (of 14,953 total)