Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: woodpd
  • Content: Threads
  • Order by date
  1. woodpd

    INSERT EXEC without defining table structure

    This one's been bugging me all night. OK, at present this is what I do. I have a stored procedure (usp_ReportMaster) which returns the result of a dynamic SQL query like this: SELECT Improvement.* FROM .......... I then have many other stored procedures that run the above stored proc first and...
  2. woodpd

    Distinct select problems

    Scaled down table structure: TblCustomer: CustomerID FirstName Surname etc TblEnquiry: EnquiryID CustomerID Source etc I am trying (as part of a larger query) to get a list of the EnquiryIDs for a customer's most recent enquiry (therefore the list will only have 1 entry for each customer...
  3. woodpd

    Impossible SQL query?

    Dear people, I am tearing my hair out trying to write an SQL statement to do the following: In Table "Team" amongst other things I have a "TeamID" and a "TeamName". In Table "Match" amongst other things I have a "HomeTeamID" and an...
  4. woodpd

    Impossible SQL query?

    Dear people, I am tearing my hair out trying to write an SQL statement to do the following: In Table "Team" amongst other things I have a "TeamID" and a "TeamName". In Table "Match" amongst other things I have a "HomeTeamID" and an...

Part and Inventory Search

Back
Top