Viewing 15 posts - 1 through 15 (of 17 total)
The first SQL only pulls the dependants, the second was an example I thought would work. Any ideas how I can do this? I created a union statement that kinda...
April 4, 2007 at 11:32 am
Thanks Jason!! I appreciate your advice also!
February 2, 2007 at 1:51 pm
Thanks! That worked. I'll need to read up on my joins to figure exactly what is going on here. It appears you have done "filtering" in the join statement on...
February 1, 2007 at 10:27 am
Thanks Everyone!!! I've got it working..
January 4, 2007 at 4:48 pm
I guess this would be the best I can do..
December 22, 2006 at 9:05 am
The only thing different between the two records would be the check number and amount. Everything is exactly the same, I can't even use date/time because they are the same....
December 5, 2006 at 1:00 pm
I do all need all the employees at one time, just thier most recent record in the table.
select top 1 *
from phbasic
where pay_period_end = '11/25/2006'
only returned one record (total) as...
December 5, 2006 at 12:11 pm
I always want the last record in the table for the date I specify, it will have the most current data.
Thanks for the help everyone!!!!!!!!!!!!!!
December 5, 2006 at 9:26 am
Thanks everyone for your help!!! Greatly appreciated
jim
November 30, 2006 at 2:37 pm
Ram,
First off, thanks for the help. The only problem I still have in your example is when the code meets the "IN" criteria, I want it to sum up all...
October 3, 2006 at 11:41 am
How do I reference a static variable in a where statement in T-SQL. No user input, variable always = 12
then how would my datepart(dd,hire_date) command by set up?
thanks
March 23, 2006 at 4:06 pm
Damn, you guys are quick. By the time I figured it out, I had 2 great replies. Thanks!!!
March 14, 2006 at 9:21 am
see anything wrong with this? just curious with the difference would be and why you chose dataadd over datediff
where datediff(d,hire_date,GETDATE()) <= 90
thanks!!!
March 14, 2006 at 6:26 am
Viewing 15 posts - 1 through 15 (of 17 total)