79383806

Date: 2025-01-24 09:21:19
Score: 1
Natty:
Report link

-----I am checking database name like DBA and printing datbase name

EXEC sp_msforeachdb 'IF ''?'' like ''DBA%'' BEGIN select DB_NAME(DB_ID(''?'')) END'

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Dinesh vishe