Hi Experts,
Could you please help me to split the result of below query into multiple columns:
EXEC master..xp_cmdshell 'wmic service where "Caption Like ''%sql%''" get Caption , StartName, state'
I needs result of this query something like below but in tabular format:
Caption | StartName | State |
SQL Server Integration Services 11.0 | NT Service\MsDtsServer110 | Running |
SQL Full-text Filter Daemon Launcher (MSSQLSERVER) | NT Service\MSSQLFDLauncher | Running |
SQL Server (MSSQLSERVER) | NT Service\MSSQLSERVER | Running |
SQL Server Analysis Services (MSSQLSERVER) | NT Service\MSSQLServerOLAPService | Running |
--------------------------------- Devender Bijania