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 SkipVought 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: *

  1. Maxxamillian

    Help with trigger...

    Thanks a bunch for the tip!
  2. Maxxamillian

    Help with trigger...

    Thanks a bunch for the tip!
  3. Maxxamillian

    Help with trigger...

    Not quite sure what you mean by using an identity column. With the "from" removed from the code the trigger still will not fire.
  4. Maxxamillian

    Help with trigger...

    Need to set a trigger so that when a new record is inserted the max value in column flx_objid will be taken and incrememnted by one for the new record. So far no luck. Here is what I am working with. CREATE TRIGGER FLXTrans_ObjidCount ON FLX_Transaction FOR INSERT AS DECLARE @MaxCount...
  5. Maxxamillian

    Need to create a counter trigger

    This is what I have so far.... I have tried several different codes and none will fire. CREATE TRIGGER FLXTrans_ObjidCount ON FLX_Transaction FOR INSERT AS DECLARE @NewCount INT, @MaxCount int IF (SELECT Count(*) FROM inserted WHERE flx_objid IS NULL) > 0 BEGIN SELECT @MaxCount=...
  6. Maxxamillian

    Need to create a counter trigger

    Need to create a trigger that automatically increases the value in the flx_objid column by 1 when an insert occurs. Not quite sure how I would go about doing this as this will be my first trigger. Any help would be appreciated.
  7. Maxxamillian

    SNMP.exe is locking up.

    SNMP.exe is locking up the processor resources (99%) in the afternoons at about 4pm. We cannot pinpoint the reason why this is so. We have tried disabling different services and (including SNMP) to no avial. Any help or information would be appreciated.
  8. Maxxamillian

    I almost got it!

    Finally did it. Here is the final code. Dont need the help anymore but thanks anyways. CREATE PROC spUpdFsrHeaderID AS --Declare parameters. Names = column headers DECLARE @StartValue int DECLARE @EndValue int DECLARE @NextValue int DECLARE @ValueWidth int DECLARE @String...
  9. Maxxamillian

    I almost got it!

    Just need to be able to print out the value in next_value column but cant get it to go! CREATE PROC spUpdFsrHeaderID AS --Declare parameters. Names = column headers DECLARE @StartValue int DECLARE @EndValue int DECLARE @NextValue int DECLARE @ValueWidth int --declare new...
  10. Maxxamillian

    This is very involved! T-SQL

    I have started to create the following SPROC: CREATE PROC spUpdFsrHeaderID AS --Declare parameters. Names = column headers DECLARE @start_value int DECLARE @end_value int DECLARE @next_value int DECLARE @value_width int --set parameters to equal information already contained within...
  11. Maxxamillian

    Need help on a query

    Thank you thank you thank you! The crux of the hypothesis is the biscuit.
  12. Maxxamillian

    Should I rebuild indexes?

    Should I rebuild indexes as part of my daily/weekly database managment/maintenance and if so how often? The crux of the hypothesis is the biscuit.
  13. Maxxamillian

    Need help on a query

    Need to identify all of the tables that LIKE 'adp%' which have a column titled OBJID. I will then need to go to these tables individually and drop this column. Am a beginner here (with T-SQL) so any help/tips would be greatly appreciated. Additionally, any source material that could help me...
  14. Maxxamillian

    Run away processes

    run away is where these processes (in the task manager) are both using up the processing capabilities of the server. They pretty much split CPU usage 50-50. This can go on for hours on end (until I reboot the machine.) Unfamilliar with these two programs and why they are kicking on. The crux...
  15. Maxxamillian

    Run away processes

    I am getting run away processes on Inetinfo.exe and Msdtc.exe and it is locking up the server. This is happening about 1X/week. Running MSSQL6.5 The crux of the hypothesis is the biscuit.
  16. Maxxamillian

    passwords did not carry over with upgrade

    Recent test upgrade of MSSQL 6.5 to MSSQL 7. Logins carried but the accompanying passwords did not. ??? The crux of the hypothesis is the biscuit.
  17. Maxxamillian

    Replication

    It can reside on the local machine (laptop) computer as long as it is in sync with the main server.
  18. Maxxamillian

    Replication

    The engineers work alone and do not modify each other's work. Hence, it will be mutally exclusive (partitioned). However, they will need access to the information posted by other engineers for logistic purposes, which needs to be distributed on a daily basis. Hope this is enough? Thanks for...
  19. Maxxamillian

    Replication

    Want to set up replication on a MSSQL 7 db. Need to be able to sinc with field service engineers (on laptops) at least twice a day. What kind of replication would be best for this? Merge, snapshot, ect...
  20. Maxxamillian

    Locks on 6.5

    I am beginning to wonder if it may be a memory leak.

Part and Inventory Search

Back
Top