DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: query

  1. #1
    Join Date
    Sep 2003
    Location
    india
    Posts
    23

    query

    Hi,
    I have two tables ,the first record of table 1 matches the first record of table 2 but there is no relationship given. how do i make a join . is this possible by a select statement.i got it only through a procedure which is more tedious.
    please let me know the same at the earliest.........

    Regards ,
    Ramya
    ramya

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Maybe some example data?
    Jeff Hunter

  3. #3
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    What do you mean by "first record"? Unless you order by some column(s), the rows in table MUST be regarded as being in a random, changing order.

  4. #4
    Join Date
    Apr 2004
    Location
    Boston MA
    Posts
    90
    Yes man, DaPi is right. These are not SAS datasets, these are database tables. You can never rely on the order the records are returned unless you use order by.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width