Viewing 15 posts - 1 through 15 (of 26 total)
Chris Morris (1/7/2009)
Also, the above query doesn't get me the desired results. It is getting me an activity for all the columns if there's a corresponding row for any of...
January 8, 2009 at 8:57 pm
try using sub-query + group by (BranchName,WeekEndingDate) should give you the results you wanted.
post back if you encounter any problems.
cheers 😉
jon
January 7, 2009 at 2:13 am
i assume you need help on writting select queries, read following BOL on table joins.
http://msdn.microsoft.com/en-us/library/ms191472(SQL.90).aspx
cheers,
jon
January 2, 2009 at 1:26 am
Thanks for posting your solution, nv know when your post would be helpfull.
personally, i think you can skip the casting
if (empty(sql:column("PhySuffix")))
the...
December 31, 2008 at 10:33 am
yup agree i don't see a need too either.. anyway i'm not a guru on xQuery but you can use modify's delete method to remove those empty elements but it...
December 31, 2008 at 10:02 am
nice point.. but i'll use output clause only when i know how many values to return. If the number of address is "n" number of records then you'll have to...
December 26, 2008 at 10:19 am
if you got a single line solution feel free to post it, i'll like to take a look at it. Here's my suggestion (not tested) using a table var as...
December 26, 2008 at 2:09 am
doesn't seem to me that you'll need a UDF seems like a SP with a cursor would solve your problem. If performance is a concern then you should adopt what...
December 26, 2008 at 1:45 am
Hi jerrym,
No prob 🙂 if u need e first @dteMaintStartDate to be '2008-09-15' and subsequent 7 row to add another 90 on top of e prev row then maybe u...
August 21, 2008 at 12:32 am
jon (8/20/2008)
i get 8 rows inserted into the child table but all 8 rows have the date as 2008-09-15, it should add (90 days x i) to the date for...
August 20, 2008 at 11:55 pm
i get 8 rows inserted into the child table but all 8 rows have the date as 2008-09-15, it should add (90 days x i) to the date for each...
August 20, 2008 at 11:45 pm
Hi Andras,
Thanks for raising this issue to MS, and the link 🙂
Cheers,
Jon
August 20, 2008 at 3:05 am
Hi Andras,
Thanks for e quick reply =)
Shall check MS site for bug patches then 😉
Cheers,
Jon
August 20, 2008 at 2:42 am
hi,
when your following tsql is a CTE ("WITH") try it 🙂 it'll ask u to add one ";"
as for my comments on Begin/End use it wisely previously i edited someonelse...
August 20, 2008 at 2:22 am
Thanks mathew, yup you r right.. did some googling and learn that this issue has been around but there does'nt seem to hv any answer to it either..
anyway thanks...
March 11, 2008 at 9:38 am
Viewing 15 posts - 1 through 15 (of 26 total)