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 |
spib
Starting Member
9 Posts |
Posted - 2002-07-11 : 15:57:04
|
Hi,This is a SQL Server script which seems to barf in access 2000 and I don't know whySELECT ([PlayCount] + [AutoPlayCount]) AS TotalPlayCountFROM [MetaData]ORDER BY [TotalPlayCount] DESCWhen I run it, access prompts for a value for TotalPlayCount |
|
MichaelP
Jedi Yak
2489 Posts |
Posted - 2002-07-11 : 16:16:00
|
I'm pretty sure it's that order by.I know it doesn't look as nice, but it should work:SELECT ([PlayCount] + [AutoPlayCount]) AS TotalPlayCount FROM [MetaData] ORDER BY ([PlayCount] + [AutoPlayCount]) DESC <Yoda>Use the Search page you must. Find the answer you will. |
 |
|
spib
Starting Member
9 Posts |
Posted - 2002-07-11 : 17:30:00
|
Yeah, that fixed it - thanks. Access is so stupid sometimes. |
 |
|
|
|
|