SQL EXISTS

From Logic Wiki
Jump to: navigation, search


Easy way to check if an object exists

IF (OBJECT_ID('isAbsences') IS NOT NULL)
  PRINT('tt')
GO