tsql - Sql Server sysjobsteps step_uid column nullability -


i working on project creating log table of sorts failed jobs. since step_id can change depending on step order, wanted use step_uid unique identifier step. in mind, seems step_uid in msdb's sysjobsteps table nullable column, , relying on column not being null of yet.

does know why or when column ever null. no examples exist on current server.

by looking @ source code of sp_add_jobstep_internal stored procedure, can realize step_uid allways filled-in procedure.

moreover, sp_write_sysjobstep_log stored procedure assumes step_uid cannot null (it copies value sysjobstepslogs table, step_uid defined not null).

i think step_uid column defined nullable because did not exist in sql server 2000. however, since sql server 2005 seems filled-in.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -