Viewing 15 posts - 136 through 150 (of 201 total)
any changes to the environment or databases, i.e. LOB data, MAXDOP settings? Do you use SORT_IN_TEMPDB? Do you have an idea of what fragmentation was like before and...
March 15, 2012 at 9:35 am
MNH (3/8/2012)
The following format will get the desired info.
DECLARE @xmlFile XML
SET @xmlFile = (SELECT * FROM OPENROWSET(BULK 'c:\myxml.xml', SINGLE_CLOB) AS xmldata)
SELECT @xmlFile.value('(//*/process/@currentdb)[1]', 'varchar(10)') AS DatabaseID
Refer to http://msdn.microsoft.com/en-us/library/ms178030.aspx for details.
fantastic......
March 9, 2012 at 3:12 am
I'd have thought for the sake of avoiding these repeated debates, it'd be worth taking the extra 2 seconds to put the version in the question...
March 6, 2012 at 7:50 am
i'm using the Upgrade Advisor. At the point where you select the databases that you want to analyse, there's also an option to analyse trace files output by profiler
February 27, 2012 at 1:57 pm
ok, will do. I thought I'd got it working previously, obviously not.
Thanks for the suggestion
Andrew
February 24, 2012 at 3:03 am
Hi,
Could you try:
if object_id('tempdb..#temp_StartingValuesBaseData') is not null
drop table #temp_StartingValuesBaseData
Cheers,
February 24, 2012 at 2:45 am
thanks again. I've already got the precision and scale another way, but I'll have a look at putting this in instead. thanks, Andrew
January 24, 2012 at 7:51 am
Cadavre (1/24/2012)
SELECT DATA_TYPE,CASE WHEN CHARACTER_MAXIMUM_LENGTH = -1 THEN 'MAX'
...
January 24, 2012 at 6:43 am
I'd believed that the log backups ran from the point the last full backup was taken... that was why I (incorrectly) assumed taking the copy_only backups was the way to...
November 25, 2011 at 4:22 am
Viewing 15 posts - 136 through 150 (of 201 total)