I've created a SQL job to clear LDF file which runs once in a week.
Below is the screen shot for steps i've done.
Also I've tried below queries
DBCC SHRINKFILE ('C:\MSSQLDATA\LOG\HDE.ldf', 1);
USE HDE;
GO
DBCC SHRINKFILE ('C:\MSSQLDATA\LOG\HDE.ldf', 1);
GO
Any one help me that how can i run my job successfully by clearing the LDF log file.
Thanks nag