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.
Author |
Topic |
boris1610
Starting Member
3 Posts |
Posted - 2014-03-29 : 17:19:11
|
Hi every one I am new with Sql server I got a lot experience with oracle but now i have to change to SQL server. Can somebody help I want to write this oracle statement in sql sever 2012. This is the statementSELECT COUNT(*)Aantal_AANGIFTEN FROM AWTSTUNADM.SAD_GENERAL_SEGMENT gen, awtstunadm.un_asybrk_track track, awtstunadm.un_asybrk_ied ied WHERE ied.instance_id = gen.instanceid and ied.binder_id = 'B_asysad' and ied.ied_id = track.ied_ID and track.doc_ver = ( select max(Doc_ver) from awtstunadm.un_asybrk_track where ied_id = ied.ied_id ) and track.status != 'Cancelled' |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2014-03-30 : 06:13:18
|
What is the error you get? The statements looks fine to me at the first glance. Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA |
|
|
|
|
|