Viewing 15 posts - 2,506 through 2,520 (of 7,498 total)
maybe even start with this script that can help you with your inventory and scripts.
Just add that part to use the new location.
January 3, 2011 at 5:49 am
DMV sys.dm_db_index_usage_stats contains the usage info you need.
BIG REMARK from BOL:
The counters are initialized to empty whenever the SQL Server (MSSQLSERVER) service is started. In addition, whenever a database...
January 3, 2011 at 5:43 am
If that occurs with our backup jobs, it's always an xcopy still trying to copy the file to a safe zone.
We examine why that copy is taking that...
January 3, 2011 at 5:32 am
I would first run :
dbcc updateusage ('yourdb') with count_rows
and re-inspect the figures after that.
December 31, 2010 at 6:08 am
GSquared (12/30/2010)
I just noticed I hit 10k "points" on SSC today. Good way to end the year, as it were.
Congratulations for the 10K barrier.
Thank you for your support, 10000...
December 31, 2010 at 6:01 am
euhm, no ... still on 32 bit xp :blush:
Does msdtc have a 64-bit version too, and is that the version you configured.
Did you configure both versions ?
December 30, 2010 at 10:51 am
It works on my laptops sql2000 (SP4) instance ..
begin tran
SELECT *
FROM [ws20098002\SQL2000PE].pubs.dbo.employee
commit tran
must be a config issue.
Can you doublecheck your dtc configuration and firewall...
December 30, 2010 at 6:05 am
is tcp\ip enabled for the instance ?
December 30, 2010 at 5:49 am
If you have ssms on that server, can you just start it.
Do not connect to the server yet!
so cancel the connect popup.
Then click "new query" and then connect using the...
December 30, 2010 at 4:59 am
- please provide sql2005 version info ( @@version )
- is this an upgraded db (from 7 or 2000) ?
(and did you perform post migration maintenance ?)
- can you run dbcc...
December 30, 2010 at 4:51 am
1) why are you using 4-part naming ?
You should just connect to the correct sql-instance and db and use two part naming.
2) did you enable and configure msdtc at the...
December 30, 2010 at 4:45 am
What's wrong with:
/* day 2 of the current month 00:00:00.000 */
select dateadd(dd,1,dateadd(mm, datediff(mm, 0, getdate()), 0))
/* if you need day 2 12 noon */
select dateadd(hh,36,dateadd(mm, datediff(mm, 0, getdate()), 0))...
December 29, 2010 at 8:38 am
IMO aligned indexes provide both performance and recovery advantages:
- performance: because the are physically split like their corresponding table, so the engine will only use the part needed by the...
December 28, 2010 at 3:32 pm
you can use
return(@yourcode)
to provide an exit code for your sproc.
in your app you can capture this value using the first parameter @return_value.
e.g.
If sqlcmd.Parameters("@RETURN_VALUE").Value.ToString = "0" Then
'.....
...
December 28, 2010 at 3:21 pm
Viewing 15 posts - 2,506 through 2,520 (of 7,498 total)