In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.
USE [CDR_CUCM7_1_5] GO CREATE TRIGGER [dbo].[trgAfterInsert_CDR_Record] ON [dbo].[CDR] AFTER INSERT AS BEGIN DECLARE @Epoch_Date Datetime -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; -- Insert statements for trigger here SET @Epoch_Date = (SELECT i.dateTimeOrigination FROM inserted i) update [dbo].[CDR] set HumanDATETIME=dbo.fn_Epoch2HumanDate(@Epoch_Date); END
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.