Monday, October 22, 2007

Zipping Using Commands Through terminal

Here's the command to zip a folder or file using the terminal in OSX

zip -r ToBeNameOfZipFile.zip FolderName

Getting Just Date from DateTime

Here it is...

SELECT DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE()))

Thanks Mr. Lubarsky