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

    Help With AGGREGATE Query!

    I need to use a SELECT statement to find the Genus (animal-type) that costs the most to feed per 30 days. I've got the following query that gives me the average cost per Genus, but I need only return the ONE a_Genus_ID that costs the most to feed. I basically need GS.a_Genus_ID WHERE...
  2. Lezza

    Select in SP Hangs

    I've either found a bug or I've gone insane. I have a select into statement that runs outside a stored proc but creates an open transaction that hangs within the stored proc. I'm on SQL 2000 sp3. It also runs if I put the statement into a variable and run it as EXEC(@sql). Inside the proc it...
  3. Lezza

    Security to Access Jobs

    We have locked our databases down to certain user created database roles. Now our problem is that when the SQL user is placed in these roles, they are unable to see any jobs listed under SQL Agent. I've tried several predefined server roles but can't seem to locate a lowlevel one that will allow...
  4. Lezza

    Passing a Global Variable to a Transform Data Task

    I'm a DBA, so bear with me, I only know T-SQL. In DTS, I need to pump data from one machine to another based on a max(date) located in a table on the destination server. I've looked up Global Variables and I'm this far: 1) Execute SQL Task with Select Max(date) etc. with an output parameter...

Part and Inventory Search

Back
Top