Hi, Am working with SQL Server 2005..I am trying to shrink the log file of the database.. Apparently, the name of the database, log and mdf is the same.Used this code USE gprddevelopmentGODBCC SHRINKFILE(<gprddevelopment>, 1)BACKUP LOG <gprddevelopment> WITH TRUNCATE_ONLYDBCC SHRINKFILE(<gprddevelopment>, 1)GO
and I receive the error :Msg 102, Level 15, State 1, Line 1Incorrect syntax near '<'.Msg 102, Level 15, State 1, Line 3Incorrect syntax near '<'.Please help.. Thanks