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)
 conversion

Author  Topic 

kemi2299
Starting Member

41 Posts

Posted - 2008-04-04 : 10:41:57
thanks, the first one work better.

i am also trying to do conversion from varchar to int, but get error cannot convert
SELECT count(Mrn) as counter, month_Att,Attendance_Cat_Cd
into #lcdq16b from #lcae
where CONVERT(varchar,Attendance_Cat_Cd )= 1
group by month_Att,Attendance_Cat_Cd ;

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-04-04 : 10:46:28
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=100306

Madhivanan

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

- Advertisement -