Forum Replies Created

Viewing 15 posts - 5,131 through 5,145 (of 5,393 total)

  • RE: Unable to Find the OLEDB Driver

    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:...

    -- Gianluca Sartori

  • RE: sql job with negative duration running time

    Looks very strange...

    Can you post a sample of the overlapped job history records?

    -- Gianluca Sartori

  • RE: sql2008 version of "Accessing "sysmessages"

    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

    -- Gianluca Sartori

  • RE: sql job with negative duration running time

    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?

    -- Gianluca Sartori

  • RE: query for data file sizes on a server

    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

    -- Gianluca Sartori

  • RE: query for data file sizes on a server

    sp_msForEachdb 'USE ?

    EXEC sp_helpfile'

    It's not exactly what you were asking, but it goes very close, I think.

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    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...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    With no Chianti.

    Oh, I see... This is the main problem! 😀

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    mazzz (6/10/2009)


    We stayed at a vineyard for a few days: Podere Dell'Anselmo[/url].

    The place is smashing!!! Anyway it looks a bit too expensive for my budget... 🙁

    Well, I know where I'm...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    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...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    mazzz (6/10/2009)


    Gianluca,

    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...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    GilaMonster (6/10/2009)


    Some think it's a massive waste of money that could be better spent on health, education and job creation (which are all massive problems).

    Some think that there's going to...

    -- Gianluca Sartori

  • RE: SQL Count Statement

    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...

    -- Gianluca Sartori

  • RE: SQL Count Statement

    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 ...

    -- Gianluca Sartori

  • RE: SQL Count Statement

    This should do the trick:

    SELECT Department, Status, COUNT(*)

    FROM (

    SELECT A.ItemCode AS [Container ID],

    Cust.company AS Account,

    Dept.departmentname AS Department,

    A.ref1 AS [Alternate ID],

    A.fromdate AS [From Date],

    A.todate AS [To Date],

    A.ref2 AS [Sequence Begin],

    A.ref3...

    -- Gianluca Sartori

Viewing 15 posts - 5,131 through 5,145 (of 5,393 total)