I have a stored procedure named GenerateRandomString, which takes an output parameter and returns a random string of set length.
I have a table in my database where I would like to automatically insert the string returned by the stored procedure as a default value for one of the columns of the table. Unfortunately, I cannot figure out what the syntax is to call this stored procedure for a default value.
Any ideas?
I have a table in my database where I would like to automatically insert the string returned by the stored procedure as a default value for one of the columns of the table. Unfortunately, I cannot figure out what the syntax is to call this stored procedure for a default value.
Any ideas?