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 TouchToneTommy 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: ClaytonQ
  • Content: Threads
  • Order by date
  1. ClaytonQ

    Function to find the Nth Xday of each month between two dates

    I'm trying to write a T-SQL function that can find the third Tuesday, or the fourth Saturday, or the second Wednesday of every month. I found a VBScript version of something similar at http://www.merlyn.demon.co.uk/vb-dates.htm#ILS. VBScript and T-SQL don't do dates exactly the same way. I'm...
  2. ClaytonQ

    Formal Relationship between 4 tables

    I have a situation where I have three tables (InternalEvents, ExternalEvents, Classes) that each need access to a RoomReservations table. Each event or class may reserve multiple rooms, so each of those is on the one side of a one-to-zero-or-many relationship with RoomReservations. The...
  3. ClaytonQ

    Help me make list of groups a user belongs to

    Hi everyone. I am in the midst of moving our Intranet system from Windows NT to Windows 2000. (I know, I know.) I am a web programmer, not a network admin. Our old Windows NT Intranet was relying on a dll called NTUtils to get a list of groups. On the new system, I want to use the abilities...
  4. ClaytonQ

    Return a recordset and count of the rows with 1 sp?

    All the stored procedures I've written return a recordset. Now I have need of an sp that returns both the recordset and a count of the number of rows in the recordset. It seems like it should be a peice of cake, but I've looked and looked and can't figure it out. Thanks!
  5. ClaytonQ

    I get an error when I call my stored procedure

    I'm having a tough time with this one. I've spent days trying to figure it out. The stored procedure included below parses out and the procedure is created when I play it. But when I run it, I get this error message: Server: Msg 170, Level 15, State 1, Line 7 Line 7: Incorrect syntax near 't'...

Part and Inventory Search

Back
Top