SELECT
[TableName] = so.name,
[RowCount] = MAX(si.rows)
FROM
sysobjects so,
sysindexes si
WHERE
so.xtype = 'U'
AND
si.id = OBJECT_ID(so.name)
GROUP BY
so.name
ORDER BY
2 DESC
Kewl, huh!?
Reference: here
SELECT
[TableName] = so.name,
[RowCount] = MAX(si.rows)
FROM
sysobjects so,
sysindexes si
WHERE
so.xtype = 'U'
AND
si.id = OBJECT_ID(so.name)
GROUP BY
so.name
ORDER BY
2 DESC
SELECT *
FROM TABLE1 a, TABLE2 b
WHERE a.CODE = b.CODE(+)
C:\Progra~1\Intern~1\iexplore.exe
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
declare @theid as bigint
insert into tablename select myvalue1, myvalue2
set @theid=@@IDENTITY
bcp "dbname.dbo.tablename" out "dev_tablename.bcp" -e error.log -c -S servername -T -k
bcp "dbname.dbo.tablename" out "dev_tablename.bcp" -e error.log -c -S servername -U username -P password -k
bcp "dbname.dbo.tablename" in "dev_tablename.bcp" -e error.log -c -S servername -T -k
bcp "dbname.dbo.tablename" in "dev_tablename.bcp" -e error.log -c -S servername -U username -P password -k
bcp "dbname.dbo.tablename" in "dev_tablename.bcp" -e error.log -c -S servername -U username -P password -k -h "ORDER (TheDate DESC)"