Forum Replies Created

Viewing 15 posts - 526 through 540 (of 582 total)

  • RE: How to merge three VIEWs into one VIEW

    I agree with John, the better the example, the better the help.

    From the sounds of it you are on the right track. Using Outer join instead of inner join...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: windows linked server

    How is the security on the linked server setup?

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: How to merge three VIEWs into one VIEW

    Since you are new to SQL this is a good learning opportunity. What I think you want to do is to have BO, CT and Total in the same...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: How to merge three VIEWs into one VIEW

    I would say all you need to do is joins the results of the 3 views on the cleareddate column.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: How to merge three VIEWs into one VIEW

    bocleared cleareddate ctcleared cleareddate totalcleared cleareddate

    2 1/2/2009 ...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: I/O requests taking more than 15 seconds

    Are you seeing any errors in the Application or system event logs at the same time as the errors in sql server log? I am seeing the same errors in...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: how to query a variable of the column headers

    This probably will not return the correct results based on original query you posted. You will get something that looks right but the data may be wrong.

    Again look online for...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: how to query a variable of the column headers

    What I posted is an example. It has nothing to do with your actual query except demonstrating what changes you would need to make in your own. Since you don't...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: how to query a variable of the column headers

    A quick example on how you can get you results. Just take the example and apply it to your query.

    This code creates the test data

    create table ocode(

    officecodevarchar(2),

    datedatetime,

    numint)

    insert into ocode

    select 'bo',getdate(),1

    union...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: how to query a variable of the column headers

    After re-reading the question, there may be an easier way to get what you need without a pivot table. in your CTE, include Office Code as one of the columns...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: how to query a variable of the column headers

    I think the using PIVOT command may be able to get you your results.

    http://technet.microsoft.com/en-us/library/ms177410.aspx

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Finding SQL Version

    The following will give you similar info, product level states SP.

    select serverproperty('ProductVersion') as ProductVersion,serverproperty('Edition') as Edition,serverproperty('ProductLevel') as ProductLevel

    and this link has list of build version

    http://www.sqlservercentral.com/articles/Administration/2960/%5B/url%5D

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SQL Server 2005 SP 3

    the registry path this would be located in is

    HKEY_CLASSES_ROOT\Installer\patches

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SQL Server 2005 SP 3

    As for whether you should install the SP2 or RTM support files or do it at all since it installed correctly i cant say because me situation was not exactly...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SQL Server 2005 SP 3

    I think they were the originals right off the CD.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

Viewing 15 posts - 526 through 540 (of 582 total)