Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 cross tab, Urgent, Please Help me

Author  Topic 

CSK
Constraint Violating Yak Guru

489 Posts

Posted - 2006-08-23 : 06:01:41
Dear All,

I need to check the 1'st table row valus with 2'nd table Column Values
Eg:

Table 1
S.No Mnth
1 Aug-2005
2 sep-2005
3 oct-2005
4 nov-2005
5 Dec-2005
6 Jan-2006

Table 2
S.no Employee Aug-2005 sep-2005 oct-2005 nov-2005 Dec-2005 Jan-2006
1 E1
2 E2
3 E3
4 E4
5 E5
6 E6

Here I need to compare the Table1 Mnth Values to Table2 columns from Aug-2005
please help me, Urgent

Thanks and regards
KK

chiragkhabaria
Master Smack Fu Yak Hacker

1907 Posts

Posted - 2006-08-23 : 06:30:22
check this out..

http://www.sqlmag.com/Articles/Index.cfm?ArticleID=15608&DisplayTab=Article


Chirag
Go to Top of Page

CSK
Constraint Violating Yak Guru

489 Posts

Posted - 2006-08-23 : 08:15:39
thanks chirag
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-08-26 : 05:40:14
or
http://weblogs.sqlteam.com/jeffs/archive/2005/05/02/4842.aspx



Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -