Process run query:'select[dbo].[SqlServerWorksrun](1)' when restart SQL Services.
Can you help me, what's this query?
Thank!
Process run query:'select[dbo].[SqlServerWorksrun](1)' when restart SQL Services.
Can you help me, what's this query?
Thank!
HI @LeThienLam-3020,
Welcome to Microsoft Q&A!
It seems that [dbo].[SqlServerWorksrun] is one user-defined function from your side.
You could execute below command to receive the complete code of this function if you have enough permission.
use master --change to another database if necessary
go
sp_helptext SqlServerWorksrun
Then you could check more details with the creator of this function if it mentions in the comment or check with your team/administrator.
Thank you for understanding!
Best regards,
Melissa
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi @MelissaMa-msft
I have execute and error:
Msg 15197, Level 16, State 1, Procedure sp_helptext, Line 107 [Batch Start Line 2]
There is no text for object 'SqlServerWorksrun'.
HI @LeThienLam-3020,
Please try to find the function in SSMS like below:

If it is not there, you could find it in other databases or login as SA to have another try.
Thank you for understanding!
Best regards,
Melissa
OK thank @MelissaMa-msft.
II 've found
but I don't understand why it's running -> affect performance server
12 people are following this question.