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

  1. dash1b

    Trigger for entire database

    I hesitate to judge not knowing the app but does anyone else think this method of cleanup might be somewhat taxing to the server? Trigger fires an SP with multiple DELETE's for every insert, update, or delete on any table? I'm guessing this is not an OLTP app? Might a timed SQL Agent job be...
  2. dash1b

    Comma placement in string

    You could also use the COALESCE function to achieve a similar result: dbo.ConcatDesc (@OutreachID int) returns varchar(1000) AS BEGIN Declare @Str as varchar(1000) SELECT @Str = COALESCE(@Str + ', ', '') + Descript FROM myTable WHERE OutreachID=@OutreachID RETURN @Str END

Part and Inventory Search

Back
Top