top of page
Writer's pictureKunal Ranpura

Find Hardware Manufacturer for your SQL Server


-- Get System Manufacturer and model number from

-- SQL Server Error log. This query might take a few seconds

-- if you have not recycled your error log recently

EXEC xp_readerrorlog 0,1,"Manufacturer";

143 views0 comments

Recent Posts

See All

SQL Server Profiler Trace

--Import multiple trace file in sql Table. --All the rollover files will be automatically imported --provide number tracefile to capture...

Find All Primary Key in SQL Server

select schema_name(tab.schema_id) as [schema_name], pk.[name] as pk_name, substring(column_names, 1, len(column_names)-1) as [columns],...

SQL Server find Database User Permission

--Execute the following script against the User Database where you need to find DB User permission. DECLARE @sql VARCHAR(2048) ,@sort INT...

コメント


bottom of page