Forum Replies Created

Viewing 15 posts - 586 through 600 (of 1,183 total)

  • RE: query for data selection

    Use TOP with ORDER BY ....

    SELECT TOP 2

    START_DT, END_DT

    FROM

    dbo.yourTable

    WHERE

    END_DT <= GETDATE()

    ORDER BY

    END_DT DESC

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: How to solve this ..?

    What have you tried?

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: dbcc checkdb returns error

    More info here .. http://msdn2.microsoft.com/en-us/library/aa275767(SQL.80).aspx

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Best disk layout for SQL Server

    My humble recomendation is ...

    C: OS + SQL Binaries

    D: Data Files - RAID 1 or 10 (like Steve Suggested)

    E: Temp DB & Log Files - RAID 0

    F: Index Files -...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Logging with XML

    I say just do a full backup after every UPDATE or DELETE. :w00t:

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: COUNT (Distinct Column) = 0 with GROUP BY

    Only to show that there is more than one way to get something done.....

    -- First create some test data

    DECLARE @testUserLoginDuration TABLE (starttime DATETIME, userid INT)

    INSERT @testUserLoginDuration

    SELECT...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: stored procedure Vs select statement

    SQL ORACLE (3/18/2008)


    If my understanding is correct, you would like to compare which is better, an ad hoc query or a stored procedure.

    If so, adding your query in your stored...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Restore 2005 database on a 2000?

    First, the answer to the question: NOPE

    Second, a possible solution: Get Red Gates' SQL Compare and SQL Data Compare. Create an empty SQL 2000 database and use SQL Compare to...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: CASE on Joined TBLS - Then Query On Result Set

    There is always more than one way to skin a cat, and the same applies to TSQL.

    One way...

    SELECT unitid

    FROM demotbl AS d

    LEFT JOIN nesunit AS...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Scheduling data extraction to excel

    http://www.sqlreportingservices.net/BookSrs2000/default.aspx

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Scheduling data extraction to excel

    Yes, it works with 2000 and I believe it's on the SQL Server media. Oh, it's FREE and not too dificult to set up. Search these forums, or the web...

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Scheduling data extraction to excel

    Sounds like a perfect situation for a Reporting Services Fileshare Susbscription. 😀

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: SSRS newbie needs some tips

    Check this out...

    http://www.amazon.com/Hitchhikers-Reporting-Services-Microsoft-Windows/dp/0321268288

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: Data Driven Subscriptions Updated

    I believe it is a semi colon ;

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg
  • RE: New test easily separates good code from bad!

    LOL, that's now on my wall!

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg

Viewing 15 posts - 586 through 600 (of 1,183 total)