Viewing 15 posts - 13,426 through 13,440 (of 13,841 total)
This is not strictly a corelated subquery - the subquery runs independently of the outer query, as the subquery's results do not depend on values from the outer query. I can't...
July 22, 2005 at 3:27 am
Yuk, your problem here (if you hadn't already realised!) is stripping the filepath out of medialist.media to leave you with just the filename, which you can then join to MobileVideo.
Here's...
July 22, 2005 at 3:14 am
I think that your requirement for row aggregation rules out a simple join query directly. However, why not create a view of
select orderID, sum(quantity) from [order details] group by orderID
and...
July 22, 2005 at 2:55 am
Not sure whether you've already worked this out, but sounds like you need
select cast(3434.3484365657 as decimal(19,2))
July 22, 2005 at 2:27 am
Standard Windows:
Shift-Alt-Spacebar x
July 21, 2005 at 3:56 pm
How about creating an additional integer field with identity (to do the counting for you) and then create an insert trigger to set the field you want.
July 21, 2005 at 1:21 pm
This thread should give you what you need:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=92&messageid=201594
July 21, 2005 at 6:21 am
I'm sorry, but I'm afraid that confusion still reigns in my mind! Why would you want to write a program that works exactly like IDENTITY?
Does your prog need to generate...
July 21, 2005 at 5:58 am
I think you're right - I tend to do dev and debugging on my PC and so it all works fine for me.
No problem about the help - people in this...
July 21, 2005 at 5:06 am
When you say 'automatic' - I presume you mean exactly that, ie users do not need to do anything special, they just INSERT to the other fields and the key...
July 21, 2005 at 5:01 am
OK - the code is in the right pane and there should be a yellow arrow pointing to the first line of executable code (after any declarations).
Just use the step...
July 21, 2005 at 4:16 am
Check out the NEWID() function in BOL and see whether that suits.
July 21, 2005 at 3:28 am
There's something fishy going on here - presumably the fields were defined as not null for a reason, in which case you should be populating them with sensible data. Or...
July 21, 2005 at 3:24 am
Viewing 15 posts - 13,426 through 13,440 (of 13,841 total)