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)
 Regarding ( Date Time) array

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-02-08 : 09:44:50
ramsatish writes "1)I wrote a query which retreives 5 different dates.
(select top 5 monthyear from monthyear table)

2)I want to store these dates in an array variable and i want to
check the employees who joined in these dates and i want to
check different conditions based on these dates.


My requirement is I want to get each date in an array,and I want to check different conditions based on this dates.


Thanks in advance"

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-02-08 : 09:55:12
The SQL Server lacks array concept but you can workaround it by using table variables.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-02-08 : 10:01:40
TOP 5 ordered by what?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -