can any one tell me to find out the list of databases that have “.ldf” size greater than “.mdf”.
Ashoksql
0
Newbie Poster
Recommended Answers
Jump to PostFIRST RUN THE COMPLETE SQL THEN CHECK THE OUTPUT. THEN GO FOR MODIFICATION.
Create Table ##helpfile (dbname varchar(100), name varchar(100), FileId int, Filename varchar(100), Filegroup varchar(50), Size varchar(20), maxsize varchar(20), growth varchar(20), usage varchar(20)) Create Table ##filestats (Fileid int, FileGroup int, TotalSpace int, UsedSpace int, FreeSpace int, …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.