Viewing 15 posts - 436 through 450 (of 1,473 total)
The complexity required for these statements is a pretty good example of why you should just leave time as a datetime field.
That said, you can use something like this:
select *...
October 30, 2009 at 9:09 am
That's an interesting update. I'd make sure that this was right, but here is how you'd write that:
UPDATE P
SET OrderNo = S.OrderNo
FROM Payment P
...
October 30, 2009 at 7:42 am
Cross post. No more replies here please. Reply here instead:
October 29, 2009 at 8:23 am
Any help will be greatly appreciated on this. Also posting this in teh SQL2005 forum to see if any advice from them.
A couple things.
First, don't cross post.
Second,...
October 29, 2009 at 8:22 am
I'm sorry, was there a question in there somewhere?
October 29, 2009 at 8:06 am
dmoldovan (10/29/2009)
Seth, I did not (yet) mention PATINDEX. I'd better include the link:http://msdn.microsoft.com/en-us/library/ms187489(SQL.90).aspx
than just mention the topic title...sorry...
Heh, no, it was my fault. It's how I was considering doing...
October 29, 2009 at 8:04 am
If you already have a list of all the languages, a simple crosstab (or pivot, whichever is easier for you) should solve it unless I'm misreading something here. Jeff...
October 29, 2009 at 7:51 am
dmoldovan (10/29/2009)
See also BOL ---> "Pattern Matching in...
October 29, 2009 at 7:32 am
lmu92 (10/28/2009)
Garadin (10/28/2009)
October 28, 2009 at 3:13 pm
Err oops, forgot you specified you were using a stored procedure. Yes, they're dropped implicitly when the SP ends.
October 28, 2009 at 2:37 pm
That's not going to work out too well. There are a lot of options for doing something like this, but this one isn't going to support concurrency at all....
October 28, 2009 at 2:31 pm
Viewing 15 posts - 436 through 450 (of 1,473 total)