Tried this:

INSERT ##Test(Check_Log)
EXEC master..xp_cmdshell 'osql -Sserver -E -Q"DBCC CHECKDB(db_name)"'