why does this query take more than 3 minutes:
select Count (*) from S_Address Where KundenID=18 And email in (select
distinct email from s_pixelemail where mailid=51)
select Count (*) from S_Address Where KundenID=18
==> takes 0 sec -> 3500 rows
select distinct email from s_pixelemail whe...
more >>
Hi Guys,
I have the following stored procedure which I use to pull hotel
information from the database. The following procedure does just what I
need but I can't get the Case statement to work with the OrderBy
clause.
When I try I get the following error:
Error 104: Order by items must a...
more >>