Viewing 15 posts - 4,126 through 4,140 (of 7,164 total)
forsqlserver (5/10/2012)
which one is better Merge or Peer to Peer replication for...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 10, 2012 at 1:02 pm
Here is a start for you. Post back if you have more questions:
Add-Type -AssemblyName “Microsoft.SqlServer.Smo”
######################################################################
$instanceName = '.\STD2008R2'
$databaseName = 'test_multi_files'
######################################################################
$server = New-Object -TypeName Microsoft.SqlServer.Management.Smo.Server -ArgumentList $instanceName
$database = $server.Databases[$databaseName];
Write-Host ("$database has "...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 10, 2012 at 12:44 pm
I would opt for PowerShell + SMO + BCP.
Pseudocode:
1. Using SMO loop over table collection for your database.
2. Inside loop call BCP once for each table and output data to...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 10, 2012 at 10:20 am
I ran into another issue Tuesday and finally nailed it down to a file-copy operation that occurs prior to restore, but after the the block-level copy operation. I am just...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 10, 2012 at 10:02 am
Chuck Hottle (5/9/2012)
If you're moving to 64-bit servers you should probably use 64-bit SQL Server unless there is some compelling reason not to.
+1
Re: Visual Studio 2005/2008/2010 are all 32-bit programs,...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 10, 2012 at 9:26 am
AIRWALKER-375999 (4/20/2012)
opc.three (4/20/2012)
AIRWALKER-375999 (4/20/2012)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 9, 2012 at 10:30 pm
By default those types of errors do not go to the SQL Server Error Log or anywhere else except back to the client. You could setup an Alert to let...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 9, 2012 at 1:31 pm
I do not think Enterprise to Developer is a supported 'upgrade path'. I suspect you will need to install new Developer instances, and uninstall the Enterprise instances. Check with a...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 9, 2012 at 12:10 pm
It was deprecated and left behind because the OLE DB provider for ODBC performed horribly and there was little support for it moving forward with the energy being dropped into...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 9, 2012 at 11:57 am
It may generate fragmentation. It will depend on the number of CPUs you have and whether SQL Server decides to parallelize the insert. All an ORDER BY will do is...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 9, 2012 at 11:44 am
Anytime 🙂 If you happen to check out TRY_CAST and have a moment to spare, could you post back for later viewers to know how you got along with it?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 9, 2012 at 9:20 am
If LoadDate is ever-increasing, you always insert your snapshots for a given LoadDate using a single insert...select statement (i.e. you never go back and add rows with an existing LoadDate...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 9, 2012 at 8:24 am
An option on SQL 2005 would be a SQLCLR function similar to TRY_CAST specifically to handle XML, and return the original string if it is valid, else return escaped XML...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 8, 2012 at 10:16 pm
On SQL 2005 your only option is to check each :angry:
If you have an instance of SQL 2012 around it can be used to identify the bad XML using the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 8, 2012 at 10:00 pm
phil.layzell (5/8/2012)
I am due to make a change to our 2005 Production DB. This change involves updating a Text field to XML.
The questions are:
•what impact will this have on...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
May 8, 2012 at 5:18 pm
Viewing 15 posts - 4,126 through 4,140 (of 7,164 total)