Sql Re-write.
Hi All,
I have the following table
PRODUCT_ID PRODUCT_NAME
0 ACCOUNT SERVICES
319 Wizard selection button is located in the section below
321 FMS DIRECT TRANSMISSION............and so on
I need to re-write the query below
SELECT product_id PRODUCT_ID, ( case when product_name='Wizard selection button is located in the section below' then product_name:='Wizard selection' else product_name end) PRODUCT_NAME FROM product ORDER BY product_id;
Now instead of checking for a string(product_name) I would like to compare for number( product_id) in the same select query ( something like IF product_id=319 then product_name:='Wizard Selection' else product_name).
Can you please suggest some alternative to do this in sql.
Thanks in advance
Appreciate your time and help!
MB
Edited by: user32322435 on Nov 4, 2009 10:13 AM
Hi,
You can also use decode function. As in
SELECT product_id PRODUCT_ID,decode(product_name,'Wizard selection button is located in the section below','Wizard selection', product_name) PRODUCT_NAME FROM idm.psa_product
WHERE wizard = 'Y'
ORDER BY product_id;-Arun
Similar Messages
-
Convert SQL*Report Writer V1 to Reports V6
Is there an Oracle utility to convert the old SQL*Report Writer REPs to Reports V6 RDFs? Also, will Reports V6 for Unix be able to use our REPs from SQL*Report Writer V1?
We are moving to a new server and updating our Oracle software. As a test, we are attempting to rewrite / convert some of our reports from our Unix platform to a test NT server. Once we get to the new Unix server and Oracle, we will have to convert the old REPs to the new Reports for Unix.You can convert SQL*ReportWriter v1.1 reports to Oracle Reports 2.5/3.0 and then to Oracle Reports 6.0. I know there is a migration tool that comes with 2.5, though I'm not sure about 3.0.
-
Error installing SQL Server Writer Component
I am trying to install SQL Managerment Studio. I got following error.
Action required:
Use the following information to resolve the error, and then try the setup process again.
Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Error details:
§ Error installing SQL Server Writer Component
Could not write value NT SERVICE\SQLWriter to key \SYSTEM\CurrentControlSet\services\VSS\VssAccessControl. Verify that you have sufficient access to that key, or contact your support personnel.
Error code: 1406
Log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140217_191727\SqlWriter_Cpu64_1.log
Visit http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=SqlWriter.msi%40WriteRegistryValues%401406 to get help on troubleshooting.
anyone knows how to fix it?I took the files from another computer. I finally installed sql management studio successfully. However, I still cannot connect server database. The error message was saying that I have successfully connect to server, but the error occurs.
The log I paste as following:
(01) 2014-02-18 20:42:55 Slp: Log provider 'Microsoft.SqlServer.Chainer.Infrastructure.LogProviderFile' has been registered
(01) 2014-02-18 20:42:55 Slp: Log provider 'Microsoft.SqlServer.Chainer.Infrastructure.LogProviderStatus' has been registered
(01) 2014-02-18 20:42:55 Slp: Reading XML resource 'Microsoft.SQL.Chainer.PackageData.Package.xml'
(01) 2014-02-18 20:42:55 Slp: Reading schema resource 'Microsoft.SQL.Chainer.Package.Package.xsd'
(01) 2014-02-18 20:42:55 Slp: Document 'Microsoft.SQL.Chainer.PackageData.Package.xml' validated with schema 'Microsoft.SQL.Chainer.Package.Package.xsd' has been successfuly loaded into datastore path '/Datastore/Package'
(01) 2014-02-18 20:42:55 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:55 Slp: Running Action: ReadProductXML
(01) 2014-02-18 20:42:55 Slp: Reading XML resource 'Microsoft.SQL.Chainer.Product.Product.xml'
(01) 2014-02-18 20:42:55 Slp: Document 'Microsoft.SQL.Chainer.Product.Product.xml' validated with schema 'Microsoft.SQL.Chainer.Product.Product.xsd' has been successfuly loaded into datastore path '/Datastore/Product'
(01) 2014-02-18 20:42:55 Slp: Completed Action: ReadProductXML, returned True
(01) 2014-02-18 20:42:55 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:55 Slp: Running Action: LoadExtensions
(01) 2014-02-18 20:42:56 Slp: Loading extension 'MSI' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.MsiExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'MSI' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'PackageChainer' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.PackageChainerExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'PackageChainer' version '11.0.3000.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'Config' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.ConfigExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'Config' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'Common' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Chainer.ExtensionCommon.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'Common' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SqlConfigBase' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.SqlConfigBase.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SqlConfigBase' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'Slp' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.SetupExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'Slp' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'RulesEngine' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.RulesEngineExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'RulesEngine' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'WorkflowData' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Chainer.WorkflowData.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'WorkflowData' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SlpConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.SlpExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SlpConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'Clst' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.Cluster.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'Clst' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'AgentConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.AgentExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'AgentConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SqlPowershellConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.PowershellExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SqlPowershellConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SSISConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.SSISExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SSISConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'DReplayConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.DistributedReplayExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'DReplayConfig' version '11.0.2100.60' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'ASConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.ASExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'ASConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'ReplConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.Repl_ConfigExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'ReplConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'ManagementToolsConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.ManagementToolsExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'ManagementToolsConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'ManagementToolsAdvancedConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.ManagementToolsExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'ManagementToolsAdvancedConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'UI' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.UIExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'UI' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'ConfigurationResources' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'ConfigurationResources' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SqlEngineConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SqlEngineConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SniServerConfigExt' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.SniServerConfigExt.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SniServerConfigExt' version '11.0.2100.60' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SqlBrowserConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.SqlBrowserExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SqlBrowserConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SqlRSConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.RSExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SqlRSConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SqlRSSHPConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.RSShpExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SqlRSSHPConfig' version '11.0.3000.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'FulltextConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'FulltextConfig' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'ScoExtension' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.ScoExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'ScoExtension' version '11.0.3000.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'Infrastructure' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Chainer.Infrastructure.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'Infrastructure' version '11.0.3128.0' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'UtilityConfig' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.UtilityExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'UtilityConfig' version '11.0.2100.60' loaded
(01) 2014-02-18 20:42:56 Slp: Loading extension 'SmartSetup' from file 'C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\.\Microsoft.SqlServer.Configuration.SmartSetupExtension.dll'
(01) 2014-02-18 20:42:56 Slp: Extension 'SmartSetup' version '11.0.3000.0' loaded
(01) 2014-02-18 20:42:56 Slp: Completed Action: LoadExtensions, returned True
(01) 2014-02-18 20:42:56 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:56 Slp: Running Action: ExecuteBootstrapAfterExtensionsLoaded
(01) 2014-02-18 20:42:57 Slp: Workflow to execute: 'BOOTSTRAPAFTEREXTENSIONSLOADED'
(01) 2014-02-18 20:42:57 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:57 Slp: Running Action: SetGlobalPackageFlags
(01) 2014-02-18 20:42:57 Slp: Completed Action: SetGlobalPackageFlags, returned True
(01) 2014-02-18 20:42:57 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:57 Slp: Running Action: LoadPackageDatastoreObjects
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.SlpChainerInputSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.SlpChainerInputSettingsDefaults.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.SlpChainerInputSettingsDefaults.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.SlpChainerInputSettings.xsd' loaded into datastore path '/Datastore/InputSettings/ChainerSettings/SlpSettings'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.SlpFeatureInputSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.SlpFeatureInputSettingDefaults.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.SlpFeatureInputSettingDefaults.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.SlpFeatureInputSettings.xsd' loaded into datastore path '/Datastore/InputSettings/FeatureSpecific/SlpInputSettings'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.SqlInstanceIdPrivateConfigObject.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.SqlInstanceIdPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.SqlInstanceIdPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.SqlInstanceIdPrivateConfigObject.xsd' loaded into datastore
path '/Datastore/ProductSettings/SqlInstanceId/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.AsInstanceIdPrivateConfigObject.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.AsInstanceIdPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.AsInstanceIdPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.AsInstanceIdPrivateConfigObject.xsd' loaded into datastore
path '/Datastore/ProductSettings/AsInstanceId/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.RsInstanceIdPrivateConfigObject.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.RsInstanceIdPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.RsInstanceIdPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.RsInstanceIdPrivateConfigObject.xsd' loaded into datastore
path '/Datastore/ProductSettings/RsInstanceId/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SlpExtension.SlpPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SlpExtension.SlpPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SlpExtension.SlpPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SlpExtension.SlpPublicSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/Slp/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SlpExtension.SlpPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SlpExtension.SlpPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SlpExtension.SlpPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SlpExtension.SlpPrivateSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/Slp/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SlpExtension.SqlLegacyDiscoveryPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SlpExtension.SqlLegacyDiscoveryPublicSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SlpExtension.SqlLegacyDiscoveryPublicSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SlpExtension.SqlLegacyDiscoveryPublicSettings.xsd' loaded into datastore path
'/Datastore/ProductSettings/SqlLegacyDiscovery/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SlpExtension.SqlLegacyDiscoveryPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SlpExtension.SqlLegacyDiscoveryPrivateSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SlpExtension.SqlLegacyDiscoveryPrivateSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SlpExtension.SqlLegacyDiscoveryPrivateSettings.xsd' loaded into datastore
path '/Datastore/ProductSettings/SqlLegacyDiscovery/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.SlpDumperPrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.SlpDumperPrivateConfigDefault.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.SlpDumperPrivateConfigDefault.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.SlpDumperPrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/SlpDumper/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.SqlDumperPrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.SqlDumperPrivateConfigDefault.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.SqlDumperPrivateConfigDefault.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.SqlDumperPrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/SqlEngineDumper/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.AsDumperPrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.AsDumperPrivateConfigDefault.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.AsDumperPrivateConfigDefault.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.AsDumperPrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/AsDumper/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.RsDumperPrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.RsDumperPrivateConfigDefault.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.RsDumperPrivateConfigDefault.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.RsDumperPrivateConfig.xsd' loaded into datastore path '/Datastore/InputSettings/RsDumper/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPublicSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/Agent/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPrivateSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/Agent/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.AgentExtension.AgentScriptPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.AgentExtension.AgentScriptPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.AgentExtension.AgentPrivateSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/AgentScript/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SSISExtension.SSISPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SSISExtension.SSISPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SSISExtension.SSISPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SSISExtension.SSISPublicSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/SSIS/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SSISExtension.SSISPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SSISExtension.SSISPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SSISExtension.SSISPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SSISExtension.SSISPrivateSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/SSIS/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SSISExtension.VSTAPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SSISExtension.VSTAPrivateSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SSISExtension.VSTAPrivateSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SSISExtension.VSTAPrivateSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/SSIS/VSTA/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.PowershellExtension.PowershellPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.PowershellExtension.PowershellPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.PowershellExtension.PowershellPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.PowershellExtension.PowershellPublicSettings.xsd' loaded into datastore
path '/Datastore/ProductSettings/SqlPowershell/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.PowershellExtension.PowershellPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.PowershellExtension.PowershellPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.PowershellExtension.PowershellPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.PowershellExtension.PowershellPrivateSettings.xsd' loaded into datastore
path '/Datastore/ProductSettings/SqlPowershell/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.ASExtension.ASPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.ASExtension.ASPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.ASExtension.ASPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.ASExtension.ASPublicSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/AS/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.ASExtension.ASPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.ASExtension.ASPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.ASExtension.ASPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.ASExtension.ASPrivateSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/AS/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.SqlEnginePublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.SqlEnginePublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.SqlEnginePublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.SqlEnginePublicSettings.xsd' loaded into
datastore path '/Datastore/ProductSettings/SqlEngine/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Repl_ConfigExtension.ReplPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Repl_ConfigExtension.ReplPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Repl_ConfigExtension.ReplPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.Repl_ConfigExtension.ReplPublicSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/Repl/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.SqlEnginePrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.SqlEnginePrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.SqlEnginePrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SqlServer_ConfigExtension.SqlEnginePrivateSettings.xsd' loaded
into datastore path '/Datastore/ProductSettings/SqlEngine/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.FulltextPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.FulltextPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.FulltextPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.FulltextPublicSettings.xsd' loaded into datastore
path '/Datastore/ProductSettings/Fulltext/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.FulltextPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.FulltextPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.FulltextPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.Fulltext_ConfigExtension.FulltextPrivateSettings.xsd' loaded into
datastore path '/Datastore/ProductSettings/Fulltext/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SniServer.SniServerConfigExt_PrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SniServer.SniServerConfigExt_PrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SniServer.SniServerConfigExt_PrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SniServer.SniServerConfigExt_PrivateSettings.xsd' loaded into datastore
path '/Datastore/ProductSettings/SniServer/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SniServer.SniServerConfigExt_PublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SniServer.SniServerConfigExt_PublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SniServer.SniServerConfigExt_PublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SniServer.SniServerConfigExt_PublicSettings.xsd' loaded into datastore
path '/Datastore/ProductSettings/SniServer/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserPublicConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserPublicConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserPublicConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserPublicConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/SqlBrowser/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserPrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserPrivateConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserPrivateConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserPrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/SqlBrowser/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserStopServicePrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserStopServicePrivateConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserStopServicePrivateConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.SqlBrowserExtension.sqlBrowserStopServicePrivateConfig.xsd' loaded
into datastore path '/Datastore/ProductSettings/SqlBrowserStopService/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.SkuPublicConfigObject.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.SkuPublicConfigObjectDefault.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.SkuPublicConfigObjectDefault.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.SkuPublicConfigObject.xsd' loaded into datastore path '/Datastore/ProductSettings/Sku/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SetupExtension.SkuPrivateConfigObject.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SetupExtension.SkuPrivateConfigObjectDefault.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SetupExtension.SkuPrivateConfigObjectDefault.xml' validated with schema 'Microsoft.SqlServer.Configuration.SetupExtension.SkuPrivateConfigObject.xsd' loaded into datastore path '/Datastore/ProductSettings/Sku/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Repl_ConfigExtension.ReplPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Repl_ConfigExtension.ReplPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Repl_ConfigExtension.ReplPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.Repl_ConfigExtension.ReplPrivateSettings.xsd' loaded into datastore path
'/Datastore/ProductSettings/Repl/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.RSSHPExtension.SqlRSSHPConfigPublicDefaultSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.RSSHPExtension.SqlRSSHPConfigPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.RSSHPExtension.SqlRSSHPConfigPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.RSSHPExtension.SqlRSSHPConfigPublicDefaultSettings.xsd' loaded into datastore
path '/Datastore/ProductSettings/SqlRSSHP/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.RSSHPExtension.SqlRSSHPConfigPrivateDefaultSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.RSSHPExtension.SqlRSSHPConfigPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.RSSHPExtension.SqlRSSHPConfigPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.RSSHPExtension.SqlRSSHPConfigPrivateDefaultSettings.xsd' loaded into
datastore path '/Datastore/ProductSettings/SqlRSSHP/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSConfigPublicDefaultSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSConfigPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSConfigPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSConfigPublicDefaultSettings.xsd' loaded into datastore path
'/Datastore/ProductSettings/SqlRS/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSConfigPrivateDefaultSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSConfigPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSConfigPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSConfigPrivateDefaultSettings.xsd' loaded into datastore path
'/Datastore/ProductSettings/SqlRS/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSDBConfigPrivateDefaultSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSDBConfigPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSDBConfigPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.RSExtension.SqlRSDBConfigPrivateDefaultSettings.xsd' loaded into datastore
path '/Datastore/ProductSettings/SqlRS/DBPrivate'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsPublicSettings.xsd'
loaded into datastore path '/Datastore/ProductSettings/ManagementTools/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsPrivateSettings.xsd'
loaded into datastore path '/Datastore/ProductSettings/ManagementTools/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsAdvancedPublicSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsAdvancedPublicDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsAdvancedPublicDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsAdvancedPublicSettings.xsd'
loaded into datastore path '/Datastore/ProductSettings/ManagementToolsAdvanced/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsAdvancedPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsAdvancedPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsAdvancedPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.ManagementToolsExtension.ManagementToolsAdvancedPrivateSettings.xsd'
loaded into datastore path '/Datastore/ProductSettings/ManagementToolsAdvanced/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.DistributedReplayExtension.ControllerPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.DistributedReplayExtension.ControllerPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.DistributedReplayExtension.ControllerPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.DistributedReplayExtension.ControllerPrivateSettings.xsd' loaded
into datastore path '/Datastore/ProductSettings/DReplayController/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.DistributedReplayExtension.ClientPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.DistributedReplayExtension.ClientPrivateDefaultSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.DistributedReplayExtension.ClientPrivateDefaultSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.DistributedReplayExtension.ClientPrivateSettings.xsd' loaded into
datastore path '/Datastore/ProductSettings/DReplayClient/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterDiskPrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterDiskPrivateConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterDiskPrivateConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.ClusterDiskPrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/ClusterDisk/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterDiskPublicConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterDiskPublicConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterDiskPublicConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.ClusterDiskPublicConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/ClusterDisk/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterGroupPrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterGroupPrivateConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterGroupPrivateConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.ClusterGroupPrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/ClusterGroup/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterGroupPublicConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterGroupPublicConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterGroupPublicConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.ClusterGroupPublicConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/ClusterGroup/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterIPAddressPrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterIPAddressPrivateConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterIPAddressPrivateConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.ClusterIPAddressPrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/ClusterIPAddresses/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterIPAddressPublicConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterIPAddressPublicConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterIPAddressPublicConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.ClusterIPAddressPublicConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/ClusterIPAddresses/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.FailoverInstanceNamePrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.FailoverInstanceNamePrivateConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.FailoverInstanceNamePrivateConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.FailoverInstanceNamePrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/FailOverClusterName/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.FailoverInstanceNamePublicConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.FailoverInstanceNamePublicConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.FailoverInstanceNamePublicConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.FailoverInstanceNamePublicConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/FailoverClusterName/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodePrivateConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodePrivateConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodePrivateConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodePrivateConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/ClusterNode/Private'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodePublicConfig.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodePublicConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodePublicConfig.xml' validated with schema 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodePublicConfig.xsd' loaded into datastore path '/Datastore/ProductSettings/ClusterNode/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.SlpExtension.SQLServerSCPPrivateSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.SlpExtension.SQLServerSCPPrivateSettings.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.SlpExtension.SQLServerSCPPrivateSettings.xml' validated with schema 'Microsoft.SqlServer.Configuration.SlpExtension.SQLServerSCPPrivateSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/SQLServerSCP/Private'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodesStatusPublicConfig.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.Cluster.ClusterNodesStatusPublicConfig.xml' loaded into datastore path '/Datastore/ProductSettings/ClusterNodesStatus/Public'
(01) 2014-02-18 20:42:57 Slp: Reading schema resource 'Microsoft.SqlServer.Configuration.ASExtension.ASSPIInputSettings.xsd'
(01) 2014-02-18 20:42:57 Slp: Reading XML resource 'Microsoft.SqlServer.Configuration.ASExtension.ASSPIInputSettingsDefaults.xml'
(01) 2014-02-18 20:42:57 Slp: Document 'Microsoft.SqlServer.Configuration.ASExtension.ASSPIInputSettingsDefaults.xml' validated with schema 'Microsoft.SqlServer.Configuration.ASExtension.ASSPIInputSettings.xsd' loaded into datastore path '/Datastore/ProductSettings/ASSIP/Public'
(01) 2014-02-18 20:42:57 Slp: Completed Action: LoadPackageDatastoreObjects, returned True
(01) 2014-02-18 20:42:57 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:57 Slp: Running Action: InitializeInputSettingStore
(01) 2014-02-18 20:42:58 Slp: Completed Action: InitializeInputSettingStore, returned True
(01) 2014-02-18 20:42:58 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:58 Slp: Running Action: InitializeRoleService
(01) 2014-02-18 20:42:58 Slp: Loading role: SPI_AS_NewFarm
(01) 2014-02-18 20:42:58 Slp: Loading role: SPI_AS_ExistingFarm
(01) 2014-02-18 20:42:58 Slp: Loading role: AllFeatures_WithDefaults
(01) 2014-02-18 20:42:58 Slp: Completed Action: InitializeRoleService, returned True
(01) 2014-02-18 20:42:58 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:58 Slp: Running Action: ProcessChainerCommandLineArguments
(01) 2014-02-18 20:42:58 Slp: ----------------------------------------
(01) 2014-02-18 20:42:58 Slp: Setting: TIMESTAMP
(01) 2014-02-18 20:42:58 Slp: Value specified: 20140218_204252
(01) 2014-02-18 20:42:58 Slp: New setting source: CommandLine; previous setting source: Default
(01) 2014-02-18 20:42:58 Slp: ----------------------------------------
(01) 2014-02-18 20:42:58 Slp: Setting: LOGMARKER
(01) 2014-02-18 20:42:58 Slp: Value specified: _LandingPage
(01) 2014-02-18 20:42:58 Slp: New setting source: CommandLine; previous setting source: Default
(01) 2014-02-18 20:42:58 Slp: ----------------------------------------
(01) 2014-02-18 20:42:58 Slp: Setting: MEDIASOURCE
(01) 2014-02-18 20:42:58 Slp: Value specified: F:\
(01) 2014-02-18 20:42:58 Slp: New setting source: CommandLine; previous setting source: NotSpecified
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------
(01) 2014-02-18 20:42:59 Slp: Setting: INSTALLMEDIAPATH
(01) 2014-02-18 20:42:59 Slp: Value specified: F:\x64\setup\
(01) 2014-02-18 20:42:59 Slp: New setting source: CommandLine; previous setting source: NotSpecified
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------
(01) 2014-02-18 20:42:59 Slp: Setting: ENU
(01) 2014-02-18 20:42:59 Slp: Value specified: True
(01) 2014-02-18 20:42:59 Slp: New setting source: CommandLine; previous setting source: Default
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------
(01) 2014-02-18 20:42:59 Slp: Setting: MEDIALAYOUT
(01) 2014-02-18 20:42:59 Slp: Value specified: Full
(01) 2014-02-18 20:42:59 Slp: New setting source: CommandLine; previous setting source: Default
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------
(01) 2014-02-18 20:42:59 Slp: Setting: ACTION
(01) 2014-02-18 20:42:59 Slp: Value specified: LANDINGPAGE
(01) 2014-02-18 20:42:59 Slp: New setting source: CommandLine; previous setting source: NotSpecified
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------
(01) 2014-02-18 20:42:59 Slp: Completed Action: ProcessChainerCommandLineArguments, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: ProcessMediaChainerConfigFileArguments
(01) 2014-02-18 20:42:59 Slp: Procssing media configuration file F:\x64\setup\..\DefaultSetup.ini.
(01) 2014-02-18 20:42:59 Slp: Input setting PCUSOURCE is not used because it is not allowed for scenario None.
(01) 2014-02-18 20:42:59 Slp: Input setting PID is not used because it is not allowed for scenario None.
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------
(01) 2014-02-18 20:42:59 Slp: Completed Action: ProcessMediaChainerConfigFileArguments, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: ProcessChainerConfigFileArguments
(01) 2014-02-18 20:42:59 Slp: Completed Action: ProcessChainerConfigFileArguments, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: ProcessSlipstreamParameters
(01) 2014-02-18 20:42:59 Slp: Completed Action: ProcessSlipstreamParameters, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Skipping Action: SetRoleAndUIModeForExpressMedia
(01) 2014-02-18 20:42:59 Slp: Action is being skipped due to the following restrictions:
(01) 2014-02-18 20:42:59 Slp: Condition "IsMediaExpress" did not pass as it returned false and true was expected.
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: InitializeRetryHandler
(01) 2014-02-18 20:42:59 Slp: Completed Action: InitializeRetryHandler, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: ValidateChainerSetting
(01) 2014-02-18 20:42:59 Slp: Completed Action: ValidateChainerSetting, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: ProcessFeatureCommandLineArguments
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------
(01) 2014-02-18 20:42:59 Slp: Completed Action: ProcessFeatureCommandLineArguments, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: ProcessMediaFeatureConfigFileArguments
(01) 2014-02-18 20:42:59 Slp: Procssing media configuration file F:\x64\setup\..\DefaultSetup.ini.
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------
(01) 2014-02-18 20:42:59 Slp: Completed Action: ProcessMediaFeatureConfigFileArguments, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: ProcessFeatureConfigFileArguments
(01) 2014-02-18 20:42:59 Slp: Completed Action: ProcessFeatureConfigFileArguments, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: StartSqmSession
(01) 2014-02-18 20:42:59 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2014-02-18 20:42:59 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\110
(01) 2014-02-18 20:42:59 Slp: Sco: Attempting to get registry value CustomerFeedback
(01) 2014-02-18 20:42:59 Slp: SQM Service: Sqm does not have active session.
(01) 2014-02-18 20:42:59 Slp: SQM is opted-out by command line parameter /SQMREPORTING or registry key setting, SQM session is closed
(01) 2014-02-18 20:42:59 Slp: Completed Action: StartSqmSession, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: ValidateSettingsAgainstScenario
(01) 2014-02-18 20:42:59 Slp: Scenario: LandingPage
(01) 2014-02-18 20:42:59 Slp: Completed Action: ValidateSettingsAgainstScenario, returned True
(01) 2014-02-18 20:42:59 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:42:59 Slp: Running Action: FinalCalculateSettings
(01) 2014-02-18 20:43:00 Slp: Completed Action: FinalCalculateSettings, returned True
(01) 2014-02-18 20:43:00 Slp: Completed Action: ExecuteBootstrapAfterExtensionsLoaded, returned True
(01) 2014-02-18 20:43:00 Slp: ----------------------------------------------------------------------
(01) 2014-02-18 20:43:00 Slp: Running Action: LandingPage
(01) 2014-02-18 20:43:00 Slp: Landing page action
(01) 2014-02-18 20:43:00 Slp: Starting Landing Page: Path = C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\LandingPage.exe, Arguments = /ENU /MEDIASOURCE="F:\\"
Thanks,
Regards, -
Use SQL to write SQL in sqldeveloepr
Is there any slick way to use SQL to write SQL in sqldeveloper? This would involve running the output of a SQL SELECT statement, which, after all, is just sitting there in the output window, ready to execute. Or am I pretty much stuck with writing to the spool file and then executing it?
>
Is there any slick way to use SQL to write SQL in sqldeveloper?
>
No - the result just holds the results. You can copy and paste from it to a sql window and then execute it but nothing like you describe.
>
Or am I pretty much stuck with writing to the spool file and then executing it?
>
Yup! -
Can PL/SQL read/write from a database server to another server?
hi,
please advise.
thankswhat i mean is output text file to other servers using pl/sql through utl_file package.No. utl_file reads/writes only on the server where your pl/sql code is running.
But maybe you could map a network drive. Haven't tried that. -
Problem with Using SQL to write SQL
HI,
---I am trying to use sql query to write a sql statement like following:
update abc_tab set dept_cd = replace(dept_cd, 'HRE','HW');
---Since I have a lot of same kind updates, so I tried following:
select ' update '||table_name||' set '||column_name||' =replace('||column_name||','
||'HRE'||','||'HW'||');' from dba_tab_columns
where owner='EDU' and column_name like 'DEPT%'
--- the result is something like this:
update abc_tab set dept_cd = replace(dept_cd, HRE,HW);
--- so I gave '''' for the string as follow:
select ' update '||table_name||' set '||column_name||' =replace('||column_name||','
||''''HRE''''||','||''''HW''''||');' from dba_tab_columns
where owner='EDU' and column_name like 'DEPT%'
---- I would get an error, saying FROM key word not found.
Can someone help me out one this please.
Thanks a lot
WendyHi,
Something like this might help
select ' update ' || table_name || ' set ' || column_name || ' =replace(' ||
column_name || ',' || '''HRE''' || ',' || '''HW''' || ');'
from dba_tab_columns
where owner = 'EDU'
and column_name like 'DEPT%'Regards,
Bhushan
Edited by: Buga formatted the query -
SQL DEVELOPER 1.5.3: Export Data options for using SQL to write SQL?
I write a lot of SQL that generates SQL. In a competitor's product, I can export query results (Export > Save As > Tab Delimited) to the clipboard, paste the generated SQL into a new window, then execute the generated SQL.
In SQL Developer, using Export Data > Text to the clipboard, it's delimiting each row with double-quotes. Is there any way to turn this behavior off to achieve what I want? Or should I be choosing a different export format?
For now, I can do a search/replace to eliminate the double-quotes,
Thanks.
DanaDana,
I probably haven't done this with generating thousands of SQL lines, but I have certainly used the Ctrl-A, Ctrl-C (or Ctrl-Shift-C to get headers) to copy thousands of records of result data. Note that the Ctrl-A forces a fetch of all remaining records that have not yet been fetched, which may add to the time taken by the process - for example, running the query fetches the first 50 records and then Ctrl-A will fetch the remaining records as well as selecting them all, however long that takes. Also, there is a noticeable delay with the Ctrl-C for thousands of records - only rough counting but I was seeing a UI freeze for ~ 4 seconds when copying 10000 records from a query with around 30 columns in it (pasting the clipboard into a file produced a file just under 4MB).
theFurryOne -
Do SQL pros write seperate stored procedures to handle Save and update operations?
hi friends,
Currently i'm bit confused with the industry standard of writing store procedures for save and update operations. I have sees people write separate stored procedure to handle save and update operations even they have to write complex queries. Also I have
seen people writing one store procedure to handle both Save and Update operations even when the queries are complicated. when I asked them why they do it, they said why should waste time on writing another query to update instead write one save store procedure
to handle all.
In here there are SQL Pros, Gurus, what would say about this?
what is the actual industry standard with stored procedure to perform save and update operations, do you write separate ones or do both in one?
thanks
I use Visual studio 2012 Ultimate and SQL server 2008 developer edition!>what is the actual industry standard with stored procedure to perform save and update operations
There is no industry standard. Guideline though you want to be happy with the sp-s; same for your peers.
As noted above the MERGE command is like a Swiss Army knife; it can perform INSERT, UPDATE & DELETE
in one (huge) statement.
Make sure you pick good names for the sp-s, document the parameters and comment the logic if any.
Format the stored procedure for readability:
http://www.sqlusa.com/sqlformat/
Kalman Toth Database & OLAP Architect
SELECT Query Video Tutorial 4 Hours
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
HELP!! - Need PL/SQL to write to a flat file!!
I'm trying to query information about a customer's salesrep, and append the results to a flat file. I'm a beginner, and the following pseudocode is the best I have so far. Any advice would be much appreciated.
Thanks in advance!!
Paul
CREATE OR REPLACE PROCEDURE paul IS
file_handle utl_file.file_type;
mgrname CHAR;
mgrphone CHAR;
mgrext CHAR;
BEGIN
utl_file.open('C:\WINNT\Profiles\pking\Desktop\outputfile.txt','w');
SELECT
name
,attribute7
,attribute8
INTO
mgrname
,mgrphone
,mgrext
FROM
ra_salesreps_all
rem WHERE
rem X-X-X-X-X
rem
rem EXCEPTION
rem WHEN no_data_found THEN
rem NULL;
utl_file.putf(file_handle, mgrname, mgrphone, mgrext);
utl_file.fclose(file_handle);
END paul;
nullBelow is a simple one....
Procedure WRITE2FILE
id_h in integer,
matter in varchar2 default null
IS
v_FileHandle utl_file.file_type;
root_dir varchar2(200);
file_h varchar2(100);
BEGIN
file_h := 'msg_'| |id_h| |'.txt'; -- you can give dynamic file name
root_dir := 'unix_or_nt/home/file_dir';
v_FileHandle := utl_file.fopen(root_dir,file_h,'w');
if matter is not null then
utl_file.put_line(v_FileHandle,'Additional Information');
utl_file.put_line(v_FileHandle,'------------------------------------------------------------------');
utl_file.put(v_FileHandle,matter);
utl_file.new_line(v_FileHandle,1);
utl_file.put_line(v_FileHandle,'------------------------------------------------------------------');
else
utl_file.put(v_FileHandle,matter);
end if;
utl_file.fflush(v_FileHandle);
utl_file.fclose_all();
exception
when utl_file.invalid_path then
DBMS_OUTPUT.PUT_LINE('Invalid path:');
when utl_file.invalid_mode then
DBMS_OUTPUT.PUT_LINE('invalid_mode');
when utl_file.invalid_filehandle then
DBMS_OUTPUT.PUT_LINE('invalid_filehandle');
when utl_file.invalid_operation then
DBMS_OUTPUT.PUT_LINE('Invalid_operation. ');
DBMS_OUTPUT.PUT_LINE('The File is not available.');
when utl_file.read_error then
DBMS_OUTPUT.PUT_LINE('read_error');
when utl_file.write_error then
DBMS_OUTPUT.PUT_LINE('write_error');
when utl_file.internal_error then
DBMS_OUTPUT.PUT_LINE('internal_error');
when others then
DBMS_OUTPUT.PUT_LINE(4, 'A problem was encountered while writing the document.');
end ;
Calling procedure>>>>>>>>>
execute write2file(100,'Prints the matter in here.');
will result in a file with name msg_100.txt and the contents of the file will be...
Additional Information
Prints the matter in here.
1)Make sure the directory has write permissions
2)Initialization parameter UTL_FILE = 'unix_or_nt/home/file_dir' on database server. If not, then put this in init.ora (ask your DBA) and restart the db.
3)check the syntax for the '/' and '\' depending on your OS
null -
SQL Re-Write....Using Exists?
Hi Gurus, I need some help to tune the below query please. I am running it since morning and it is taking very long to return data, so i was wondering if there is a better way to write the query?
Basically, I just have to get the count of Policies in a table using:
1) A Subquery and
2) (i dont want to include some policies which meet a certain criteria)....
SELECT count( Distinct DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_ID)
FROM DBO.PERSONAL_AUTO_POLICY_PERIOD,dbo.personal_auto_policy_trans
WHERE
dbo.personal_auto_policy_trans.PLCY_PERIOD_ID = DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_PERIOD_ID
and
( DBO.PERSONAL_AUTO_POLICY_PERIOD.VERSION_ID =
Select max(b.VERSION_ID)
from DBO.PERSONAL_AUTO_POLICY_PERIOD b
where DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_PERIOD_ID = b.PLCY_PERIOD_ID
and (DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_STATUS_CD = 'A'
or b.PLCY_PERIOD_EFDT > 30 )))
and
DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_ID
not in (
SELECT (DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_ID)
FROM DBO.PERSONAL_AUTO_POLICY_PERIOD, dbo.personal_auto_policy_trans
WHERE
dbo.personal_auto_policy_trans.PLCY_PERIOD_ID = DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_PERIOD_ID
and
(DBO.PERSONAL_AUTO_POLICY_PERIOD.ORIGINAL_PLCY_EFDT = DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_EFDT)
Please Help, Any Ideas are greatly appreciated. Thanks.I am just rewriting ur code to understand
SELECT count( Distinct DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_ID)
FROM DBO.PERSONAL_AUTO_POLICY_PERIOD,dbo.personal_auto_policy_trans
WHERE
dbo.personal_auto_policy_trans.PLCY_PERIOD_ID = DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_PERIOD_ID
and
( DBO.PERSONAL_AUTO_POLICY_PERIOD.VERSION_ID =
( Select max(b.VERSION_ID)
from DBO.PERSONAL_AUTO_POLICY_PERIOD b
where DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_PERIOD_ID = b.PLCY_PERIOD_ID
and (DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_STATUS_CD = 'A'
or b.PLCY_PERIOD_EFDT > 30 )
and
DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_ID
not in ( SELECT (DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_ID)
FROM DBO.PERSONAL_AUTO_POLICY_PERIOD, dbo.personal_auto_policy_trans
WHERE dbo.personal_auto_policy_trans.PLCY_PERIOD_ID =
DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_PERIOD_ID
and
(DBO.PERSONAL_AUTO_POLICY_PERIOD.ORIGINAL_PLCY_EFDT =
DBO.PERSONAL_AUTO_POLICY_PERIOD.PLCY_EFDT)
)Edited by: user10647455 on Jan 5, 2009 3:01 PM -
SSIS write custom logging information to sql 2012 table
I have a Package that I want to put logging information in to a SQL table.
I can do this with a script task but each time the package runs it will open a SQL connection write the log information and then close this connection it will do this 10 times every time the package executes and i could 50 of the packages running at the
same time so i am looking for a better way to do this.
My thought was to create a in memory table object at the start of the package and then insert the log records in to it and at the end do a bulk insert at the end of the package.
My problem is I don't know if this can be done and if it can how would I create the in memory table insert the records and then bulk load it to the SQL server table.While I do not see any justification for what you want, "My thought was to create a in memory table object at the start of the package and then insert the log records in to it and at the end do a bulk insert at the end of the package" is doable
by creating an ADO table, adding records to it and then writing to a destination:
https://support.microsoft.com/en-us/kb/195082?wa=wsignin1.0 has all the needed code it seems. Just wrap into the Script Task.
Arthur
MyBlog
Twitter -
SQL Server VSS Writer terminated with service-specific error 2147549183 (0x8000FFFF)
Hi Team,
SQL VSS Writer service terminated with service-specific error,
find SC query results, please advice wat;s the issue. Kindly note this service running fine for long time and suddenly stopped.
SERVICE_NAME: SQLWriter
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN))
WIN32_EXIT_CODE : 1066 (0x42a)
SERVICE_EXIT_CODE : -2147418113 (0x8000ffff)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
Regards,
Karthik
Thanks & Regards, Karthikeyanthis is part of a log error for example:
24 Info 2011/09/26 23:00 [Start SQL VSS Comman]
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
25 Info 2011/09/26 23:00 [Start SQL VSS Comman] WIN32_EXIT_CODE : 0 (0x0)
26 Info 2011/09/26 23:00 [Start SQL VSS Comman] SERVICE_EXIT_CODE : 0 (0x0)
27 Info 2011/09/26 23:00 [Start SQL VSS Comman] CHECKPOINT : 0x0
28 Info 2011/09/26 23:00 [Start SQL VSS Comman] WAIT_HINT : 0x7d0
29 Info 2011/09/26 23:00 [Start SQL VSS Comman] PID : 15532
30 Info 2011/09/26 23:00 [Start SQL VSS Comman] FLAGS :
31 Info 2011/09/26 23:00 Klaar met uitvoeren post-opdrachten
32 Error 2011/09/26 23:00 The writer vetoed the shadow copy creation process during the
backup preparation state. (VSS_WS_FAILED_AT_PREPARE_BACKUP)
33 Info 2011/09/26 23:00 Verwijderen tijdelijk bestand C:\Users\serveradmin\.temp\
1313680495583
34 Error 2011/09/26 23:00 Backup voltooid met fout(en)
This is what I look for usually from this log:
32 Error 2011/09/26 23:00 The writer vetoed the shadow copy creation process during the
backup preparation state. (VSS_WS_FAILED_AT_PREPARE_BACKUP)
Just post all the log messages if you can.
[Personal Site] [Blog] [Facebook] -
How to UpLoad the Diffent type of files Through Oracle Pl/Sql...?
Hi TOM,
I want one reusable component to be developed, My requirement is as follows...
We get .CSV,.XML,.DOC.PDF files on the N/w drive. One Batch Job will be running every night and this job should upload all the files present in that N/w drive to the database (Each File should be stored in one row with unique ID) and after loading of each file is done , move the uploaded file to the backup directory.
Note : Average file size is 10-15 MB.
Loading of files in database should be done only using Oracle procedure/function.
Already return this process in Pro*C. But I don't know How to write in Oravle Pl/Sl...?
Functionality of this FUNCTION(In Pro*C):
===================================
*****set_item_blob
*****Input:
*****======
*****1. Path of the file in Windows folder which contains the part number's content
*****2. Item number in the T_ITEM table
*****3. Revision level in the T_ITEM table
*****Processing:
*****===========
*****1. Get the BLOB pointer for the ITM_BLOB column,
***** for the corresponding item number and revision level
*****2. Update the ITM_BLOB column with the content of the input file
***** ( using the EXEC SQL LOB WRITE function )
*****Output:
*****=======
*****1. ITM_BLOB column updated with the content of input file
int set_item_blob (char chr_item_number,int revision_level,char file_path)
exec sql begin declare section;
OCIBlobLocator *blob_locator;
varchar vc_item_number[12];
long file_length=0;
varchar alert_message [500+1];
int plsql_err_code = 0;
exec sql end declare section;
FILE *fp_input_file;
char *blob_buffer;
EXEC SQL VAR blob_buffer IS RAW(BUFFER_LENGTH);
EXEC SQL ALLOCATE :blob_locator;
memset ( vc_item_number.arr, '\0', 12 );
strcpy ( vc_item_number.arr, chr_item_number );
vc_item_number.len = strlen ( vc_item_number.arr );
fp_input_file = fopen( file_path, "rb" );
if( fp_input_file == NULL)
sprintf ( alert_message.arr, "ngetupld BLOB upload failed for item_number = [%s], rev_level = [%d]. Failure in opening the file to be uploaded [%s]", chr_item_number, revision_level , file_path );
alert_message.len = strlen ( alert_message.arr );
EXEC SQL EXECUTE
BEGIN
P_INSERT_INTO_INFO_MESSAGES('AL',:alert_message,'BLB',NULL,NULL,:plsql_err_code);
END;
END-EXEC;
exec sql commit;
return 1;
else
(void) fseek(fp_input_file, 0L, SEEK_END) ;
file_length = (unsigned int)ftell(fp_input_file) ;
(void) fseek(fp_input_file, 0L, SEEK_SET) ;
if ( file_length > BUFFER_LENGTH )
sprintf ( alert_message.arr, "ngetupld BLOB upload failed for item_number = [%s], rev_level = [%d]. Length of the file to be uploaded(%ld) is more than the supported length(%ld)", chr_item_number, revision_level , file_length, BUFFER_LENGTH );
alert_message.len = strlen ( alert_message.arr );
EXEC SQL EXECUTE
BEGIN
P_INSERT_INTO_INFO_MESSAGES('AL',:alert_message,'BLB',NULL,NULL,:plsql_err_code);
END;
END-EXEC;
exec sql commit;
return 1;
EXEC SQL
UPDATE T_ITEM
SET ITM_BLOB = EMPTY_BLOB()
WHERE ITM_NUMBER = :vc_item_number
AND ITM_REVISION_LEVEL = :revision_level
RETURNING ITM_BLOB INTO :blob_locator;
if ( sqlca.sqlcode != 0 )
sprintf ( alert_message.arr, "ngetupld BLOB upload failed for item_number = [%s], rev_level = [%d]. SQL error %d occured while trying to get the BLOB locator", chr_item_number, revision_level , sqlca.sqlcode );
alert_message.len = strlen ( alert_message.arr );
EXEC SQL EXECUTE
BEGIN
P_INSERT_INTO_INFO_MESSAGES('AL',:alert_message,'BLB',NULL,NULL,:plsql_err_code);
END;
END-EXEC;
exec sql commit;
return 1;
blob_buffer=(char *)malloc(BUFFER_LENGTH); // Dynamic Memory Allocation for Itm_Blob
fread((void *)blob_buffer, (size_t)BUFFER_LENGTH, (size_t)1, fp_input_file);
EXEC SQL LOB WRITE ONE :file_length FROM :blob_buffer INTO :blob_locator;
if ( sqlca.sqlcode != 0 )
sprintf ( alert_message.arr, "ngetupld BLOB upload failed for item_number = [%s], rev_level = [%d]. SQL error %d occured while trying to update the BLOB content", chr_item_number, revision_level , sqlca.sqlcode );
alert_message.len = strlen ( alert_message.arr );
EXEC SQL EXECUTE
BEGIN
P_INSERT_INTO_INFO_MESSAGES('AL',:alert_message,'BLB',NULL,NULL,:plsql_err_code);
END;
END-EXEC;
exec sql commit;
return 1;
exec sql commit;
fclose(fp_input_file);
free(blob_buffer);
return 0;
Can Possible to do in Oacle Pl/Sql...?> Hi TOM,
This is not asktom.oracle.com.
> Can Possible to do in Oacle Pl/Sql...?
Yes it can be done. Simply consult the applicable manuals that contains all of the details on how to do it. The manuals are:
- Oracle® Database Application Developer's Guide - Large Objects (refer to Chapter 6 section on Using PL/SQL (DBMS_LOB Package) to Work with LOBs)
- Oracle® Database PL/SQL Packages and Types Reference (refer to the chapter on DBMS_LOB) -
PL/SQL vs Java vs C++?
I have developed an inventory control application in MS Access & VBA that has been instrumental in saving my company $6 million so far, with at least another 4 to 5 million over the next 18 months. We are a processing plant and part of a global group of mining companies. My tool has sparked interest across the group and I am about to release an evaluation copy to other sites. Our corporation is in the process of aggressively standardising on SAP (and I extract the data from our SAP system)with Oracle of various flavours being the underlying DB as far as I can tell.
Access is a superb prototyping tool and an excellent standalone platform, however I am considering something rather more professional. For example, to generate the statistical data for 23,000 items with 50 months consumption in VBA takes about 45 minutes, tests indicate the same can be done in C++ in under a minute and the last time I used PL/SQL to calculate Single Exponentially Smooothed Forecasts for the same data set it was done in a matter of seconds.
I have a little Oracle knowledge, I had been studying for certification but dropped it in favour of a B.Comp Sc which I have commenced this year. And now to the question.
What would be the best way to proceed? Learn enough PL/SQL to write the statistical and forecasting engine and use Java to develop a front end? Or C++ and Java? Or <cough> Access and <shudder> ODBC? All of this of course would depend on me convincing our corporate IT department to letting me write an application that digs under SAP, (I know when I first asked for access to SQLplus to get to our data under SAP it felt like I had offered to buy the IT managers daughter).
Looking forward to hearing what real Developers/Analysts would do ( I am but a humble storeman).Part of the answer will depend on how you plan to deploy the application. If you have a few, local clients you could go with the traditional client/server model. If you have a lot of clients and/or they are spread out over a relatively large area (like a campus setting), a web front-end will save you a lot of hassels down the road when it comes time to upgrade.
Regardless of the the front end, I can tell you that I have been greatly impressed with the throughput you can get by moving most of the code to PL/SQL packages. A few years ago we reworked a VB/Oracle app by moving a lot of the code out of VB and into packages, leaving the client to essentially call procedures and format the output. We had more than a 3x performance increase on the same hardware and our network utilization decreased noticably.
I am now in the process of replacing the client code with Java servlets/JSP, primarily because of the maintenance hassles I mentioned earlier. There are some limitations with an HTML page but most of these have been cosmetic so far.
We are still relying heavily on PL/SQL packages. The servlet code basically gets a request, calls a package to get the data, then hands the results to a JSP page. The JSP then formats the output and sends it to the client. We are little more than halfway through the re-write, but it appears performance will increase again. Not as noticably as before, but I will take what I can get. As you have seen, once something is rolled out it always ends up getting used more than you anticipated. Better to over-engineer now than have to patch it once it is live.
HTH -
PL/SQL vs C++ ?
I have developed an inventory control application in MS Access & VBA that has been instrumental in saving my company $6 million so far, with at least another 4 to 5 million over the next 18 months. We are a processing plant and part of a global group of mining companies. My tool has sparked interest across the group and I am about to release an evaluation copy to other sites. Our corporation is in the process of aggressively standardising on SAP (and I extract the data from our SAP system)with Oracle of various flavours being the underlying DB as far as I can tell.
Access is a superb prototyping tool and an excellent standalone platform, however I am considering something rather more professional. For example, to generate the statistical data for 23,000 items with 50 months consumption in VBA takes about 45 minutes, tests indicate the same can be done in C++ in under a minute and the last time I used PL/SQL to calculate Single Exponentially Smooothed Forecasts for the same data set it was done in a matter of seconds.
I have a little Oracle knowledge, I had been studying for certification but dropped it in favour of a B.Comp Sc which I have commenced this year. And now to the question.
What would be the best way to proceed? Learn enough PL/SQL to write the statistical and forecasting engine and use Java to develop a front end? Or C++ and Java? Or <cough> Access and <shudder> ODBC? All of this of course would depend on me convincing our corporate IT department to letting me write an application that digs under SAP, (I know when I first asked for access to SQLplus to get to our data under SAP it felt like I had offered to buy the IT managers daughter).
Looking forward to hearing what real Developers/Analysts would do ( I am but a humble storeman).Can any one tell me whether PL/SQL can totally replace
Pro*C /
Cobol?
Well Pro*C/Cobol have much more advanced features
available outside of the Oracle interface, obviously. Also
UTL_FILE is not a very fast way of producing text files if you
need very high throughput.
It is not possible or suitable to apply PL/SQL to al cases, but
if you are just producing text files and reports, no matter how
complex the formatting, PL/SQL is going to do it for you.
However my own preference is to use the minimum number
of technologies reasonably possible when doing a job. By
using Pro*C or Cobol you increase the maintenance
workload, so I would stick to PL/SQL if you can.
Maybe you are looking for
-
Error while upgrading SAP R/3 Enterprise 4.7 to SAP ECC 5.0
Dear SAP, We are on the process of upgrading SAP R/3 Enterprise 4.7 with Ext:110 to SAP ECC 5.0.But during the VERSCHK_INI phase an error is been thrown showing that "The start release configuration : SAP_ABA :620 SAP_APPL :470 SAP_BASIS :620 SAP_HR
-
No More Surround Sound on Blu-ray player after Upgrade in MediaSmart
When I used the Blu-ray player in my home theatre I selected the "HDMI pass through" mode to get surround sound. I came across some new movies that would not play and after the update from HP the player would simply freeze up as soon as there was aud
-
Outlook 2010 as a remote app with Remote Exchnage
Hello All I am running RDS Farm with Windows Server 2008 R2. I have 2 RDS servers connected to domain and so on. I have managed to "publish" Internet Explorer as a remote app (For secure surfing) and it works perfectly. Now I would like to publish Ou
-
Group Policy not getting read on new laptops
I have a batch of new Dell Latitude E5500 laptops.. Using Zen 7 on netware 6.5.. downloaded the latest agent as a troubleshooting plan. The agent read enough of the assigned policy to create a DLU but does not read enough of it to apply the group pol
-
Calculate percentages in query
Hi gurus, Me and my team are working in creating queries in BI, I have some trouble calculating some porcentge. I want to create calculated KF that shows the following situation: Revenue Percentage of total Material A: 10$