Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rkelly on github.
  • I am richardk (https://keybase.io/richardk) on keybase.
  • I have a public key ASCVcEEQVxX7r8v3sC0Omhu5oDPp0iy7oTRMWiXiCFwf9Qo

To claim this, I am signing this object:

@rkelly
rkelly / create_ufn_RiskGail1999.sql
Created March 27, 2012 22:08
T-SQL function to calculate breast cancer risk based on Gail 1999 model
USE [UCI_Athena]
GO
/****** Object: UserDefinedFunction [dbo].[ufn_RiskGail1999] Script Date: 03/27/2012 13:45:05 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[ufn_RiskGail1999]') AND type in (N'FN', N'IF', N'TF', N'FS', N'FT'))
DROP FUNCTION [dbo].[ufn_RiskGail1999]
GO
USE [UCI_Athena]
GO