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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by aspijker

  1. aspijker

    trigger on sysobjects

    Thanks, for your replies. I won't use it on production servers ofcourse, only DBA can access those. But we have a lot of argueing about changes on sp's on the Development environment, it wuld be good to know after who made some changes.
  2. aspijker

    trigger on sysobjects

    Hi, i won't change the system table, other than adding a trigger.
  3. aspijker

    trigger on sysobjects

    Hi! I want to know who changed or added functions or stored procedures on my databases. I was thinking of creating a trigger on updates and inserts on the sysobjects table, but I can't find out how I can see which user created them. Cheers!
  4. aspijker

    re-install system stored procedures sql 2000

    Hi, it is an extended stored procedure, so there is nothing to script out, sorry, forgot to mention that. Thanx for trying though :)
  5. aspijker

    re-install system stored procedures sql 2000

    Hi all, While running source code in visual studio I get an error while connecting to the sql server 2000 database, that there is no permission for the user to execute sp in master: sp_sdidebug When I cjheck in the master db, I see that this sp does not exist, it does exist on other sql...
  6. aspijker

    agent not sending notification email when job fails

    No it works fine on all my servers, accept for this server. I use the same account for all my servers. It must be something on the server.
  7. aspijker

    agent not sending notification email when job fails

    I can't test it, because it is a sql 2000 server. I did see the messenger service was disabled, but i doubt that is used for sending notification emails. I have made a testjob which fails, but then I still don't get an email. And yes, before it worked. Regards!
  8. aspijker

    agent not sending notification email when job fails

    Dear DBA's, On MY sql production server (2000) I am not getting the notification emails when a job failed. I restarted the agent, because usually that would solve this problem, but now it still does not work. What can I do? Regards, Salsa
  9. aspijker

    global var in SQL

    Yes, I am using a temp table now, but only because there is no better way. For performance issues I rather not use them. Thank you for all your replies! Regards, Salsa
  10. aspijker

    global var in SQL

    I rather not use a temporary table
  11. aspijker

    global var in SQL

    Hi! I am using a lot of transactions in a sp. Within each transaction I am updating a local variable, but as soon as a transaction is committed, SQL server makes my local variable empty, so what I need is some kind of global variable. But I can't declare my own gloval variable. A transaction...
  12. aspijker

    Connecting to linked server

    Yes you can do that: 1) add a SQL user with db_ddladmin role on the machine you want to connect to. 2) add a linked server on the sql server from where you want to connect and select the user which you use on the server to connect to the linked server (in the properties windows from the linked...
  13. aspijker

    How can i do this in T-SQL?

    Hi Boris, Hmm, I still can't get it to work: First when it's a numeric field it complains it can't be converted. if I uncomment that part, it runs fine, only my variable @MESSAGE is empty. Regards, Salsa DECLARE @MESSAGE AS varchar (100) SET @MESSAGE = NULL SELECT @MESSAGE =...
  14. aspijker

    How can i do this in T-SQL?

    Really thanks!! I will test it at home, but this is exactly what I need! Have a very good weekend :) Regards, Salsa

Part and Inventory Search

Back
Top