Forum Replies Created

Viewing 15 posts - 511 through 525 (of 1,183 total)

  • RE: not DISTINCT but SIMILAR

    ...and also look at CONTAINS.

    ______________________________________________________________________

    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: not DISTINCT but SIMILAR

    You might also look into CONTAINSTABLE in BOL. It's a little more complicated, but I'd be willing to bet more flexibile and faster.

    ______________________________________________________________________

    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: not DISTINCT but SIMILAR

    Peso beat me to it. 😛

    ______________________________________________________________________

    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: not DISTINCT but SIMILAR

    What constitutes SIMILAR?

    ______________________________________________________________________

    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: System SP to parse SQL?

    I'm thinking more of something that can be used to verify dynamic sql before running it within an sql procedure that builds the dynamic sql.

    ______________________________________________________________________

    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: Help with query - Quick Response Needed

    Another way (less keystrokes) just multiply one side by 1.0

    ISNULL(DROPPEDCALLS.Dropped, 0))/(Count(History.HistoryID) * 1.0)

    ______________________________________________________________________

    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: SQL Server Project

    There are an unlimited number of ways to answer this. Now, when I started out years ago I created a Chess database with all of the procedures to play a...

    ______________________________________________________________________

    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: Export SQL unique format

    Your way or create a function to do it.

    ______________________________________________________________________

    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: Parsing a cell into multiple rows

    Search this site for a split function.

    ______________________________________________________________________

    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: Create a Tally or Numbers Table

    You could call it an oilPrice table. :hehe:

    ______________________________________________________________________

    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: Selecting a Value of the Order Within a Group

    rbarryyoung (4/30/2008)


    Just add an "ORDER BY Student, AttendDate" to the end of Jason's (Joel's?) query.

    😛

    ______________________________________________________________________

    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: IT salary is going down !

    I was on the run to the North Pole mentioned here .. http://en.wikipedia.org/wiki/USS_Silversides_(SSN-679)

    Now that was fun!

    ______________________________________________________________________

    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: Selecting a Value of the Order Within a Group

    yeah, I got burned by that a few times before I started checking... LOL 😀

    ______________________________________________________________________

    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: Selecting a Value of the Order Within a Group

    Sorry RBarry, but this is the SQL 2000 forum. ROW_NUMBER() isn't supported in 2000.

    this solution will work though ...

    DECLARE @students TABLE (student VARCHAR(20), attendDate DATETIME)

    INSERT @students

    SELECT 'student1','1/1/2008' UNION

    SELECT 'student1','2/1/2008'...

    ______________________________________________________________________

    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 increment number column?

    First we place a unique field on your table. This allows us to join it to itself for the update. We use ROW_NUMBER and PARTITION BY to get the numbers/results...

    ______________________________________________________________________

    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 - 511 through 525 (of 1,183 total)