Monday, March 5, 2012

Enable / Disable schedules of SQL Job -Tsql

EXEC msdb.dbo.sp_attach_schedule @job_name=N'Job Name',@schedule_id=51
GO
USE [msdb]
GO
EXEC msdb.dbo.sp_update_schedule @schedule_id=51,
@enabled=0
GO


EXEC msdb.dbo.sp_attach_schedule @job_name=N'Job Name',@schedule_id=51
GO
USE [msdb]
GO
EXEC msdb.dbo.sp_update_schedule @schedule_id=51,
@enabled=1
GO

Thursday, February 9, 2012

Iphone & Ipad patterns

IPAD Patterns

http://landingpad.org/
http://thoughtbot.com/

Pattrns
http://pttrns.com/
http://mobile-patterns.com/
http://www.lovelyui.com/

Andorid UI
http://www.androiduipatterns.com/

Thursday, January 12, 2012

become the root account in MAC os X

sudo -s ---->>> become the root account in MAC os X

Tuesday, January 10, 2012

DTExec using runas

runas /user:abc\xyz "DTExec.exe /f \\NetworkServer\file\Package.dtsx"


dtexec /f “C:\Testing.dtsx” /l “DTS.LogProviderXMLFile;log.xml”
/Set “\package.Connections[log.xml].Properties[ConnectionString];C:\log.xml”

Wednesday, December 21, 2011

Row and Page Compression in SQL Server 2008

Row compression is used to minimize storage at the row level by compressing fixed-length data types.


Page compression is used to minimize storage for redundant data stored in pages.

Thursday, December 8, 2011

Wednesday, December 7, 2011

Clone table in SQL Server

SELECT *
INTO MyNewTable
FROM MyTable