Viewing 15 posts - 5,131 through 5,145 (of 5,394 total)
No, you can't with table variables. You can do it with temp tables.
Take the time to read this[/url] article on the topic. I found it excellent.
Regards
Gianluca
June 11, 2009 at 8:29 am
Don't know if it's the same issue, but this happened to me and maybe could help you:
I had a SQLServer 2005 EE x64 with OLEDB driver (x64) for AS400:...
June 11, 2009 at 6:49 am
Looks very strange...
Can you post a sample of the overlapped job history records?
June 11, 2009 at 6:21 am
There's no built-in system stored procedure or any kind of object that displays sys.messages.
I think you will have to access it directly.
Regards
Gianluca
June 10, 2009 at 11:41 am
I've never seen two instances of a job running overlapped, but this doesn't mean it's impossibile.
What does msdb.dbo.sp_help_jobhistory return? Same results as SSMS?
June 10, 2009 at 11:27 am
Another way to get it in a single result set:
select top 0 *
into #files
from sysfiles
EXEC sp_msforeachdb 'insert into #files select * from ?.dbo.sysfiles'
select * from #files
drop table #files
June 10, 2009 at 11:06 am
sp_msForEachdb 'USE ?
EXEC sp_helpfile'
It's not exactly what you were asking, but it goes very close, I think.
June 10, 2009 at 11:01 am
Haha, compared to Venice, Florence etc we found it quite reasonable!!
I think almost everywhere in the world is quite reasonable compared to Venice. London excluded, obviously!
We were on our honeymoon...
June 10, 2009 at 10:37 am
With no Chianti.
Oh, I see... This is the main problem! 😀
June 10, 2009 at 10:27 am
The place is smashing!!! Anyway it looks a bit too expensive for my budget... 🙁
Well, I know where I'm...
June 10, 2009 at 10:26 am
mazzz (6/10/2009)
sitting in the office and remembering riding through the Tuscan countryside is not a wise move!!
... it works from my office too!!!
Do you thinks it's a problem...
June 10, 2009 at 10:19 am
mazzz (6/10/2009)
Whereabouts are you based? I'm recently back after spending a lovely 3 weeks in Northern Italy - Rome, Siena, Pisa, Florence, Montespertoli FI and Venice. I've left some of...
June 10, 2009 at 10:04 am
GilaMonster (6/10/2009)
Some think that there's going to...
June 10, 2009 at 9:49 am
jacobostop (6/9/2009)
Gianluca,I dont see how this is going to provide me with a count for each different status type within each group...
Looks like I did not understand what you need.
If...
June 10, 2009 at 1:10 am
jacobostop (6/9/2009)
I am not sure if that will really work. I still need to display all the fields that I was originally.
This changes things a bit. Try this way:
SELECT ...
June 9, 2009 at 11:18 am
Viewing 15 posts - 5,131 through 5,145 (of 5,394 total)