Please take a look at the following article:
319240 You Cannot Manage Public Folders by Using Exchange System Manager
http://support.microsoft.com/?id=319240
325923 You Cannot Expand Public Folders Through Exchange System Manager
http://support.microsoft.com/?id=325923
Hi h1234,
I Know little about SQLMail, but I think
your script should be:
declare @hMessage varchar(255)
exec master..xp_findnextmsg @msg_id=@hMessage OUT
while @hMessage is not null
begin
exec master..xp_deletemail @hMessage
exec master..xp_findnextmsg @msg_id=@hMessage OUT
CONTINUE
end
Hi mhuma,
I think another question, If there are two or more states have equal number of customers, using "TOP 1" will not
get all the results, another query like this:
Select StateId, Total
From (Select StateId, Count(StateId) As Total
From Customer
Group By StateId)...
I think it can get the result you want
Just like this:
Select Top 1 State, Total
From (Select State, Count(*) as Total
From Customer
Group By State) State_Customer_Num
Order By Total Desc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.