Evaluating PL/SQL
I am doing some work on evaluating PL/SQL using XML and i had to devise a means of evaluating PL/SQL. The evaluation has to be similar to the ones i have provided below. I am not sure if these suggestions are correct but i hope to put the evaluation results in a table and rate it by ticking easy, average or bad. I will then carry out some evaluation tests thanks to Steve's book "Building Oracle XML Applications". The tests will be based on examples used in the book with references of course. I came up with the following suggestions.
Easy Average Difficult
7Easy to understand
7Easy to learn
7Easy to operate
7Is it suitable with other languages?
7Does it produce accurate results?
7Is it interoperable?
7Is it secure?
7Is it easy to analyse?
7Response efficiency
Please does anyone have a better?
What about an approach like:
declare
s varchar2(256);
f varchar2(30) := '1 + 2';
v number;
begin
s := 'begin :value := (' || f || '); end;';
dbms_output.put_line( s );
execute immediate s using out v;
dbms_output.put_line( v );
end;I'm not sure offhand if the call to execute immediate requires a context switch if the statement is just an anonymous block instead of SQL.
Similar Messages
-
Evaluation of SQL Server 2012 R2 expired is there any way to extended the evaluation time?
Hello,
My Evaluation of SQL Server 2012 R2 expired is there any way to extended the evaluation time?
Please let me know,
Thank You! and Happy New YearHello,
Try to roll back the time of the computer to a few days back until you are able to perform an edition upgrade.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
How to upgrade SQL 2012 Clustering Enterprise Evaluation to SQL 2012 Clustering Standard Editon
Dear All,
My environment configured 2 Servers for SQL 2012 Clustering Enterprise Evaluation with Active/Passive. Then I Would like to upgrade from SQL 2012 Clustering Enterprise Evaluation to SQL 2012 Clustering Standard Edition with Active/Passive
on same 2 Servers.
I would like you help to share me the step how to upgrade from SQL 2012 Clustering Enterprise Evaluation to SQL 2012 Clustering Standard Edition.
I should upgrade on both Servers or just upgrade only one of them?
I should upgrade on Active node first or passive node first?
During upgrade, I should bring offline resource before upgrade?
I saw only step upgrade evaluation edition on standalone Server but can't find information for upgrade on Cluster environment.
Could you please help provide me the step for do this.Hello,
As per this MS article
http://technet.microsoft.com/en-us/library/ms143393.aspx
Upgrading from Evaluation Enterprise (a free edition) to any of the paid editions is supported for stand-alone installations, but is not supported for clustered installations.
Changing the edition of a SQL Server 2012 failover cluster is limited. The following scenarios are not supported for SQL Server 2012 failover clusters:
SQL Server 2012 Enterprise to SQL Server 2012 Developer, Standard, or Enterprise Evaluation.
SQL Server 2012 Developer to SQL Server 2012 Standard or Enterprise Evaluation.
SQL Server 2012 Standard to SQL Server 2012 Enterprise Evaluation.
SQL Server 2012 Enterprise Evaluation to SQL Server 2012 Standard.
So i think upgrade to Standard edition is not possible on cluster.
What you can do is take full and transaction log backup of All databases.Backup your users and logins and jobs by script method.
Now destroy SQL server 2012 evaluation cluster and create new SQL server standard cluster.
Just FYI( not related to this): You just need to run edition upgrade on a single node, you can choose to run from either an active or passive node. After running, you need to cause a failover to happen. Once the failover happens, all of the nodes along with
the database engine will be updated.
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
As the title above suggests this is a somewhat complex problem.
I have the following expression on a field in a MS Access Make Table query.
Left([SYN4_View Invalid Last Candidates]![LastName],3). The table it is referring to: SYN4_View Invalid Last Candidates is a SQL Pass-thru query on an Oracle backend. So, when the expression attempts to evaluate in MS Access 2003 I get the following error msg:
Undefined function 'left' in expression.
I am assuming this is because LEFT function can't evaluate the output of the SQL P-T. I can't use SUBSTR as Access doesn't recognize it.
I would appreciate suggestionsrobleh7 wrote:
I don't have access to the Oracle dB. No pun intended here. Everything I do, I must do from the MS Access 2003 front-end
wow .. that's kinda like sending soldiers into a war zone with a bear trap attached to their legs. O_0
Kind of blatantly trying to hamper your ability to do your job, don't you think? -
SQL Server Infrastructure Evaluation
I am trying to come up with a check list / guidelines for evaluating Existing SQL Server Infrastructure.
Evaluate Existing Capacity , Data growth Rate , Capacity Predictions, Security Model , Availability / Disaster Recovery Options, Configuration Options, Table / Index Design Guide lines , Performance Tuning Guide lines, Hardware Selection , RAID Providers,
etc.
I want this be useful information our team can reference for making decisions.I am planning to spend about 100 hrs gathering and documenting this information.
Has anyone done similar kind of guidelines for his / her team. I would love to learn what approach to follow?
I would appreciate pointers and useful links on this topic.
I know its really big ask. I am taking this task because I work for extremely small organization with limited resources and limited knowledge. I want to provide meaningful documentation for my team which doesn't have much expertise.
Thanks,
I90RunnerWhat you are asking for is a mix of -
Guidelines/Best Practices - for infrastructure setup and capacity planning, development, maintenance
Trend Analysis - for maintenance and capacity projections
System Documentation - for maintenance and identify opportunities of scaling up/out
Guidelines and best practices will have to be looked upon from different sources e.g. MSDN, blogs, SQLCAT whitepapers, forums, technet wiki, books etc.
You will have to create and setup your own processes that gather trends like disk space, database/table sizes, CPU, frequently used and/or heavy queries etc. Some of this information can be had from DMVs or you can write own stored procs, SSIS
packages or maybe even consider using some 3rd-party vendor tools.
Same goes for system documentation. It has to be created and updated manually using the options described above for trends.
The system documentation can be gathered quickly but the others will take time and patience! Good luck :-)
- Aalam | (Blog) -
Not able to install SQL server on windows 7 - Installation halts during pre-installation.
Hi Team,
Am not able to install SQL Server on my windows. i have checked several links and sites. But nothing helped. Following is captured in the boot strap logs.
2014-09-19 12:31:48 Slp: Running Action: StartSqmSession
2014-09-19 12:31:48 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2014-09-19 12:31:48 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\100
2014-09-19 12:31:48 Slp: Sco: Attempting to get registry value CustomerFeedback
2014-09-19 12:31:48 Slp: SQM is opted-out by command line parameter /SQMREPORTING or registry key setting, SQM session is closed
2014-09-19 12:31:48 Slp: Completed Action: StartSqmSession, returned True
2014-09-19 12:31:48 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:48 Slp: Running Action: ValidateSettingsAgainstScenario
2014-09-19 12:31:48 Slp: Scenario: RunRules
2014-09-19 12:31:48 Slp: Completed Action: ValidateSettingsAgainstScenario, returned True
2014-09-19 12:31:48 Slp: Completed Action: ExecuteBootstrapAfterExtensionsLoaded, returned True
2014-09-19 12:31:48 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:48 Slp: Running Action: RunDiscoveryAction
2014-09-19 12:31:48 Slp: Running discovery on local machine
2014-09-19 12:31:48 Slp: Discovery on local machine is complete
2014-09-19 12:31:48 Slp: Completed Action: RunDiscoveryAction, returned True
2014-09-19 12:31:48 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:48 Slp: Running Action: DiscoverClusterData
2014-09-19 12:31:48 Slp: Completed Action: DiscoverClusterData, returned True
2014-09-19 12:31:48 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:48 Slp: Running Action: RunStandaloneRules
2014-09-19 12:31:48 Slp: Running in UI mode, unattended rules execution skipped.
2014-09-19 12:31:48 Slp: Completed Action: RunStandaloneRules, returned True
2014-09-19 12:31:48 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:48 Slp: Running Action: RunRulesUI
2014-09-19 12:31:48 Slp: Start Action: RunRulesUI
2014-09-19 12:31:48 Slp: Configuration file: D:\Setup\SQL2008_R2\Standard Edition\x64\configuration.uicfg
2014-09-19 12:31:48 Slp: Adding registration information 'ShowWizard' for type 'Microsoft.SqlServer.Management.ActionHandlerInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'InstallWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'InstallClusterWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'AddNode' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'RemoveNode' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'PrepareClusterWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'CompleteClusterWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'UninstallWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'UpgradeWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'ComponentUpdate' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'RepairWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'RunRulesUI' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'EditionUpgradeWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'PatchWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'RemovePatchWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'PrepareImageWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:48 Slp: Adding registration information 'CompleteImageWizard' for type 'Microsoft.SqlServer.Management.ActionInfo'
2014-09-19 12:31:49 Slp: Rules to be checked: OsVersionCheck;ThreadHasAdminPrivilegeCheck;RebootRequiredCheck;WmiServiceStateCheck;AclPermissionsFacet;MediaPathLength;SetupCompatibilityCheck
2014-09-19 12:31:49 Slp: If any rule does not pass, setup can still continue: True
2014-09-19 12:31:49 Slp: Adding rule result notification channel: RulesEngineNotificationChannel
2014-09-19 12:31:49 Slp: Loading rule: OsVersionCheck
2014-09-19 12:31:49 Slp: Creating rule target object: Microsoft.SqlServer.Configuration.SetupExtension.FacetOsInfo
2014-09-19 12:31:49 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Loading rule: ThreadHasAdminPrivilegeCheck
2014-09-19 12:31:50 Slp: Creating rule target object: Microsoft.SqlServer.Configuration.SetupExtension.FacetAdminCheck
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Loading rule: RebootRequiredCheck
2014-09-19 12:31:50 Slp: Creating rule target object: Microsoft.SqlServer.Configuration.SetupExtension.FacetRebootRequired
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Loading rule: WmiServiceStateCheck
2014-09-19 12:31:50 Slp: Creating rule target object: Microsoft.SqlServer.Configuration.SetupExtension.WmiServiceInfo
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Loading rule: AclPermissionsFacet
2014-09-19 12:31:50 Slp: Creating rule target object: Microsoft.SqlServer.Configuration.SetupExtension.AclPermissionsFacet
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Loading rule: MediaPathLength
2014-09-19 12:31:50 Slp: Creating rule target object: Microsoft.SqlServer.Configuration.SetupExtension.MediaPathLenghtFacet
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Loading rule: SetupCompatibilityCheck
2014-09-19 12:31:50 Slp: Creating rule target object: Microsoft.SqlServer.Configuration.SetupExtension.SetupCompatibilityCheck
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Executing rules engine...
2014-09-19 12:31:50 Slp: Completed Action: RunRulesUI, returned True
2014-09-19 12:31:50 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:50 Slp: Running Action: GatherUserSettings
2014-09-19 12:31:50 Slp: Start rule execution, total number of rules loaded: 7
2014-09-19 12:31:50 Slp: Initializing rule : Minimum operating system version
2014-09-19 12:31:50 Slp: Rule applied features : ALL
2014-09-19 12:31:50 Slp: Rule is will be executed : True
2014-09-19 12:31:50 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.FacetOsInfo
2014-09-19 12:31:50 Slp: Rule 'OsVersionCheck' detection result: major=6, minor=1, SP=1
2014-09-19 12:31:50 Slp: Evaluating rule : OsVersionCheck
2014-09-19 12:31:50 Slp: Rule running on machine: J1018165WIN7LT
2014-09-19 12:31:50 Slp: Rule evaluation done : Succeeded
2014-09-19 12:31:50 Slp: Rule evaluation message: The operating system version meets the minimum requirements for this product.
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Initializing rule : Setup administrator
2014-09-19 12:31:50 Slp: Rule applied features : ALL
2014-09-19 12:31:50 Slp: Rule is will be executed : True
2014-09-19 12:31:50 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.FacetAdminCheck
2014-09-19 12:31:50 Slp: Rule 'ThreadHasAdminPrivilegeCheck' Result: Running thread has administrator privilege.
2014-09-19 12:31:50 Slp: Evaluating rule : ThreadHasAdminPrivilegeCheck
2014-09-19 12:31:50 Slp: Rule running on machine: J1018165WIN7LT
2014-09-19 12:31:50 Slp: Rule evaluation done : Succeeded
2014-09-19 12:31:50 Slp: Rule evaluation message: The account running SQL Server Setup has administator rights on the computer.
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Initializing rule : Restart computer
2014-09-19 12:31:50 Slp: Rule applied features : ALL
2014-09-19 12:31:50 Slp: Rule is will be executed : True
2014-09-19 12:31:50 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.FacetRebootRequired
2014-09-19 12:31:50 Slp: Rule 'RebootRequiredCheck' results: IsRebootNotRequired=True
2014-09-19 12:31:50 Slp: Evaluating rule : RebootRequiredCheck
2014-09-19 12:31:50 Slp: Rule running on machine: J1018165WIN7LT
2014-09-19 12:31:50 Slp: Rule evaluation done : Succeeded
2014-09-19 12:31:50 Slp: Rule evaluation message: The computer does not require a restart.
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Initializing rule : Windows Management Instrumentation (WMI) service
2014-09-19 12:31:50 Slp: Rule applied features : ALL
2014-09-19 12:31:50 Slp: Rule is will be executed : True
2014-09-19 12:31:50 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.WmiServiceInfo
2014-09-19 12:31:50 Slp: Rule 'WmiServiceStateCheck' detection result: WMI Service is running
2014-09-19 12:31:50 Slp: Evaluating rule : WmiServiceStateCheck
2014-09-19 12:31:50 Slp: Rule running on machine: J1018165WIN7LT
2014-09-19 12:31:50 Slp: Rule evaluation done : Succeeded
2014-09-19 12:31:50 Slp: Rule evaluation message: The Windows Management Instrumentation (WMI) service is running.
2014-09-19 12:31:50 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:50 Slp: Initializing rule : Consistency validation for SQL Server registry keys
2014-09-19 12:31:50 Slp: Rule applied features : ALL
2014-09-19 12:31:50 Slp: Rule is will be executed : True
2014-09-19 12:31:50 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.AclPermissionsFacet
2014-09-19 12:31:50 Slp: Launching external tool: D:\Setup\SQL2008_R2\Standard Edition\x64\FixSqlRegistryKey_x64.exe
2014-09-19 12:31:50 Slp: ------------------------------------------------------------
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\SuperSocketNetLib - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer\Client\SuperSocketNetLib\LastConnect - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100 - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\10.50 - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Bootstrap - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Bootstrap\Setup - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Bootstrap R2 - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Bootstrap R2\1033 - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Bootstrap R2\1033\CurrentVersion - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Bootstrap R2\CurrentVersion - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Bootstrap R2\MSIRefCount - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\ConfigurationState - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Tools - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Tools\ClientSetup - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Tools\Shortcut - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\100\Tools\Shortcut\SQL Server Installation Center R2 - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSRS10_50.MSSQLSERVER - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Setup - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSRS10_50.MSSQLSERVER1 - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSRS10_50.MSSQLSERVER1\Setup - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\RefCount - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\RefCount\SqlRsFx0150 - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\RefCount\SqlSupport10R2 - OK.
2014-09-19 12:31:50 Slp: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\RefCount\sql_ssms - OK.
2014-09-19 12:31:50 Slp: ------------------------------------------------------------
2014-09-19 12:31:50 Slp: D:\Setup\SQL2008_R2\Standard Edition\x64\FixSqlRegistryKey_x64.exe exit code: 0
2014-09-19 12:31:50 Slp: Launching external tool: D:\Setup\SQL2008_R2\Standard Edition\x64\FixSqlRegistryKey_x86.exe
2014-09-19 12:31:50 Slp: ------------------------------------------------------------
2014-09-19 12:31:51 Slp: ------------------------------------------------------------
2014-09-19 12:31:51 Slp: D:\Setup\SQL2008_R2\Standard Edition\x64\FixSqlRegistryKey_x86.exe exit code: 0
2014-09-19 12:31:51 Slp: Rule 'AclPermissionsFacet' detection result: AreSqlAclPermissionsCanonical= True
2014-09-19 12:31:51 Slp: Evaluating rule : AclPermissionsFacet
2014-09-19 12:31:51 Slp: Rule running on machine: J1018165WIN7LT
2014-09-19 12:31:51 Slp: Rule evaluation done : Succeeded
2014-09-19 12:31:51 Slp: Rule evaluation message: SQL Server registry keys are consistent and can support SQL Server installation or upgrade.
2014-09-19 12:31:51 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:51 Slp: Initializing rule : Long path names to files on SQL Server installation media
2014-09-19 12:31:51 Slp: Rule applied features : ALL
2014-09-19 12:31:51 Slp: Rule is will be executed : True
2014-09-19 12:31:51 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.MediaPathLenghtFacet
2014-09-19 12:31:51 Slp: Rule 'MediaPathLength' INSTALLMEDIAPATH length is 47
2014-09-19 12:31:51 Slp: Evaluating rule : MediaPathLength
2014-09-19 12:31:51 Slp: Rule running on machine: J1018165WIN7LT
2014-09-19 12:31:51 Slp: Rule evaluation done : Succeeded
2014-09-19 12:31:51 Slp: Rule evaluation message: The SQL Server installation media is not too long.
2014-09-19 12:31:51 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:51 Slp: Initializing rule : SQL Server Setup Product Incompatibility
2014-09-19 12:31:51 Slp: Rule applied features : ALL
2014-09-19 12:31:51 Slp: Rule is will be executed : True
2014-09-19 12:31:51 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.SetupCompatibilityCheck
2014-09-19 12:31:51 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2014-09-19 12:31:51 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\100\Bootstrap\Incompatibilities
2014-09-19 12:31:51 Slp: Searching for reg path SOFTWARE\Microsoft\Microsoft SQL Server\100\Bootstrap\Incompatibilities. Open subkey result is False
2014-09-19 12:31:51 Slp: Regkey not present. No incompatibilities
2014-09-19 12:31:51 Slp: Incompatibility detected = False
2014-09-19 12:31:51 Slp: Evaluating rule : SetupCompatibilityCheck
2014-09-19 12:31:51 Slp: Rule running on machine: J1018165WIN7LT
2014-09-19 12:31:51 Slp: Rule evaluation done : Succeeded
2014-09-19 12:31:51 Slp: Rule evaluation message: Setup has not detected any incompatibilities.
2014-09-19 12:31:51 Slp: Send result to channel : RulesEngineNotificationChannel
2014-09-19 12:31:51 Slp: Saving results to datastore...
2014-09-19 12:31:51 Slp: Saved to directory.......C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\SystemConfigurationCheck_Report.htm
2014-09-19 12:31:51 Slp: Sco: Attempting to create directory C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\resources
2014-09-19 12:31:51 Slp: Sco: Attempting to create directory C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\resources, security descriptor
2014-09-19 12:31:51 Slp: Sco: Attempting to set directory full path
2014-09-19 12:31:51 Slp: Sco: Attempting to normalize directory path C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\resources
2014-09-19 12:31:51 Slp: Sco: Directory 'C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\resources' already exists, skipping creation, moving to set security descriptor.
2014-09-19 12:31:51 Slp: Sco: Attempting to set security descriptor for directory C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\resources, security descriptor
2014-09-19 12:31:51 Slp: Sco: Attempting to check if directory C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\resources exists
2014-09-19 12:31:51 Slp: Sco: SDDL is NULL/empty and overwriteSecurityDescriptor is false, so nothing to do, return.
2014-09-19 12:31:51 Slp: Generating HTML report by applying XsltTransformation and saving to Log folder...
2014-09-19 12:31:51 Slp: Rules evaluation report is available now at C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\SystemConfigurationCheck_Report.htm
2014-09-19 12:31:54 Slp: Completed Action: GatherUserSettings, returned True
2014-09-19 12:31:54 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:54 Slp: Running Action: Progress
2014-09-19 12:31:54 Slp: Completed Action: Progress, returned True
2014-09-19 12:31:54 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:54 Slp: Running Action: Close
2014-09-19 12:31:54 Slp: Stop Action
2014-09-19 12:31:54 Slp: Completed Action: Close, returned True
2014-09-19 12:31:55 Slp:
2014-09-19 12:31:55 Slp:
2014-09-19 12:31:55 Slp: ----------------------------------------------------------------------
2014-09-19 12:31:55 Slp:
2014-09-19 12:31:55 Slp: Setup result: 0Hi,
Iam try to install Microsoft SQL Server 2008 R2 on Windows 7.
Following is the contents from summary file.
Overall summary:
Final result: Passed
Exit code (Decimal): 0
Exit message: Passed
Start time: 2014-09-19 12:31:55
End time: 2014-09-19 12:32:16
Requested action: ComponentUpdate
Machine Properties:
Machine name: J1018165WIN7LT
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 0
Installation location: D:\Setup\SQL2008_R2\Standard Edition\x64\setup\
Installation edition: STANDARD
User Input Settings:
ACTION: ComponentUpdate
CONFIGURATIONFILE:
ENU: True
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
HELP: False
IACCEPTSQLSERVERLICENSETERMS: False
INDICATEPROGRESS: False
PASSPHRASE: *****
PID: *****
QUIET: False
QUIETSIMPLE: False
UIMODE: Normal
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\ConfigurationFile.ini
Detailed results:
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140919_123143\SystemConfigurationCheck_Report.htm -
SQL Dev result fetch performance
I am using SQL Developer 1.2.0-Main 29.98
My dept. is looking to save the cost of TOAD renewal, but evaluators have raised the following issue:
Using a test query in both TOAD and SQL Developer, it takes 2x longer in SQL Dev to retrieve all rows (7864). Both tools return n first rows quickly, but using CTRL-A in SQL Dev to force the worksheet to display all the rows takes 88sec. with Sql Array Fetch Size=50, improving incrementally to a fastest 64 sec. with the Size = 5000. (It also lets me set the size even larger, even though the documentation says 5000 is the max, no improvement in performance though.) TOAD, using it's minimum memory threshhold method returns the data in 32 sec.
Are there any additional configuration changes I can make? I am a DBA, not a Java developer, so I have no knowledge of memory settings, etc. that can be defined for the Java environment.
I have seen in other threads that 2.0 is under development, is this performance issue already being addressed?
Any and all advice is appreciated, otherwise it's back to evaluating PL/SQL Developer.If you want performance and no hassle, stick with the proven, robust TOAD. Period. The rest can be called wannabees.
Sqldev is still too young, has performance issues, crashes, has bugs, uses a lot of mem, ... but promises to be really competitive with TOAD in the future.
I do prefer sqldev's code editor and debugger over TOAD's and has a modern Java interface, easy customizable through user extensions in XML, and most important: it's Oracle and free. But you do need to put in a lot of patience and frustration...
Regards,
K. -
Prod Server ! Reporting Services evaluation has expired .
Hi all ,
Mistakenly evaluation period sql server 2012r2 was installed on our production server. Can't afford down time .
I have the full version product key with me
Am getting the below error
Microsoft.ReportingServices.Diagnostics.EvaluationCopyExpiredException: , Microsoft.ReportingServices.Diagnostics.EvaluationCopyExpiredException: The evaluation period
for this instance of Microsoft SQL Server Reporting Services has expired. A license is now required.;
Kindly let me know what all steps and precaution needs to be followed.
Thanks in Advance
PriyaHi Sir ,
So once i upgrade keeping in mind that there will be downtime .
Do i also need to do these 2 workarounds as the version has already expired its not nearing expiration .
1. Install Service Pack 1 before upgrading SQL Server 2008 evaluation edition to any licensed edition.
2. Modify Registry. Go to Start->Run->Regedit. In the Registry Editor, select the following keyHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\ConfigurationState and change the value
of the Common Files REG_DWORD to 3 as shown in the figure below.
Or a simple upgrade is sufficient enough for the restoration of all the functionality .
Thanks Priya -
SAPB1 in virtual machine?
Hello!
Has anyone had a success story running SAP B1 in a virtual machine, particularly virtualbox? Here is our problem: sql or SAP installer is very inefficient and stalls the installation process at 100% cpu for hours.
Our setup. Host server:
2 x Intel(r) Xeon(r) CPU E5620 @ 2.40GHz (2 x 4 cores, 2 x 8 virtual processors)
24GB RAM
6 x 1TB SATA-3GB 7200 rpm in RAID5 (raidz1)
Software: Opensolaris, SunOS 5.11 snv_134b
Virtualbox 3.1.8
SAPB1 Virtual Machine (more details - at the bottom):
Hardware (virtual)
4 cores, 8GB RAM, 32MB video ram, 2 HDDs:
C:\ - host: VMDK 80GB, dynamically allocate storage, on RAID5/raidz1 volume, guest: NTFS
E:\ - host: VDI 200GB, dynamically allocate storage, on the same raidz1, guest: NTFS
Software:
Windows Server 2008 R2 64bit (180 days evaluation license)
SQL Server 2008 R2 (180 days evaluation license)
SAP B1 8.81
Situation:
SQL server is configured by SAP installer. When installing SAP Demo database the VMu2019s cpu usage stays at 100% with sqlserver process at 18%, RAM usage is at only 40% (60% free), the installation process takes 6-7 hours to complete. SQL data and log files are placed in the same C:\ drive as the guest operating system. Disk activity shown by the host system is on average 300KB/s writes. The load on the host machine is 10% cpu for the copy of VirtualBox running this VM but no other cpu- ram- or disk-intensive tasks running at all. Earlier tests showed 30MB/s sustained writes on raidz1 but significantly faster in bursts due to effective ZFS caching in hostu2019s RAM. For what I can tell, there is plenty of disk bandwidth, host cpu and ram and guest ram.
Thereu2019s also a weirdest thing: CPU figures on guest donu2019t add up: performance monitor shows 100% cpu used on all four cores but when you look at individual processes the biggest one is sqlserver at 18%, SAP setup is 0-3%, taskmanager itself is 6-12%, the rest is negligible including IDLE process at 0-2%. The machine is clearly very busy with slow screen updates etc. but the sum of all running processes plus idle process is at 40-50%. Once install of the demo database sucessfully finished many hours later cpu usage came back to normal - 95-97% idle.
Suspicions:
1. SAP installer and/or production executables are compiled so that they arenu2019t happy at all under a hypervisor or only under virtualbox in particular. Earlier trial installation of the an old, 2004, version of SAPB1 on the same VM didnu2019t show this problem although we didnu2019t specifically test performance, it was just an early test installation. Slow u201Cby designu201D?
1a. SAP is not happy with evaluation versions of Windows Server or SQL. Slow u201Cby designu201D?
2. Placing demo DB files and logs on a different virtual drive (E:\) or an iSCSI drive will dramatically improve performance of SQL - This is next thing we are going to try.
2a. VirtualBoxu2019es realisation of VMDK (VMware disk format) is affecting performance.
2b. The format of virtual disks was chosen to dynamically allocate storage which is, although it seems plenty of spare host disk performance is available is still inefficient. But then, why CPU usage is the problem? Is that caused by badly written .exe files that do not return spare cpu cycles while waiting for disk operations?
Many thanks for any tips!
More on VM:
Guest OS: Windows 2008 (64 bit)
Memory size: 8192MB
VRAM size: 32MB
Number of CPUs: 4
Synthetic Cpu: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
ACPI: on
IOAPIC: on
PAE: on
Time offset: 0 ms
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging: on
VT-x VPID: on
Monitor count: 1
3D Acceleration: off
Storage Controller Name (0): SATA Controller
Storage Controller Type (0): IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 30
Storage Controller Port Count (0): 2
Storage Controller Name (1): IDE Controller
Storage Controller Type (1): PIIX4
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1): 2
Storage Controller Port Count (1): 2
SATA Controller (0, 0): /export/home/admin/.VirtualBox/HardDisks/RAID/disk1.vmdk
SATA Controller (1, 0): /export/home/admin/.VirtualBox/HardDisks/RAID/disk2.vdi
IDE Controller (0, 0): /opt/VirtualBox/amd64/additions/VBoxGuestAdditions.isoWhile the other suggestions here have merit, I wonder what can be done with your current solution...
Why are you running such an old version of VirtualBox? Version 4.1.4 is available for Solaris machines; I would think you could use that under OpenSolaris (although I am unfamiliar with the details of OpenSolaris, as I haven't run it).
The dynamically-allocated disk is the second most likely culprit in the performance issues, right behind the older version of VirtualBox... I have used the dynamic allocation many times for file servers and application servers, but a database server needs to have the highest disk I/O performance possible. I don't like to see my client application waiting on the database to allocate new disk space which is waiting on the hypervisor to provide additional disk... I think you see my point.
You might take a snapshot or clone the VM and test on another machine, even to the point of cloning the existing virtual hard drive to one which was created as a statically allocated disk.
Those would be the first two items I would try out. Let us know how successful you are; I'd love to hear what seems to be the bottleneck, as we are considering placing our B1 services inside a VM. We are considering VirtualBox, VMware, and Citrix Xen at the moment.
Rob -
PreparedStatement vs. Statement
Is PreparedStatement always better than Statement?
My idea is, PreparedStatement is more efficient when in a loop. (Is this correct?)
But when I read some code, the author always uses PreparedStatement, as if it is preferred no matter what.
Can you let me know if there are differences? Thanks!While there are certainly times to use Statement, beginners should always start with PreparedStatement, using bind variables.
With Oracle and many other databases, PreparedStatement with bind variables will give you improved perfromance on subsequent execution of the SQL (as long as it's an EXACT string match), even when the following executions are hours, minutes, or even days later, even by a different program. This benefit comes from the database caching the execution plan for the SQL. The execution plan is the result of parsing and evaluating the SQL and is somewhat analogous to compiling a program file. Just as you don't want to compile every time you execute a program, so you also don't want to parse and evaluate every time you submit a SQL statement. Bind variables in PreparedStatements helps you do that.
The variability on how long the database will cache your execution plan comes from the fact that the cache is a fixed size LRU (least recently used) cache. SQL that is used infrequently ages out of the cache and how frequently depends on how much different SQL gets seen by the different database. SQL is "different" if it's not an exact string match (including case and any non-bound data values embedded in it) to something already in the cache. This means that using bind variables with PreparedStatement not only tends to speed up performance for that SQL, it also helps to improve performance on busy databases for everything else by reducing the amount of "different" SQL, thereby increasing the length of time other infrequently used SQL stays in the cache, and thereby improving the cache hit ratio on this LRU cache.
Additionally, PreparedStatement with bind variables helps prevent "SQL injection" attacks, a significant problem of naively programmed web sites. Search the web for detailed explanations, there's plenty of them.
Finally, PreparedStatement with bind variables can make your life easier. Many beginners try to code dynamically built SQL, such as:
String sql = "SELECT * FROM user_data WHERE last_name = '" + lastName + "'";Ignoring SQL injection attacks, that works OK until:
String lastName = "O'Conner";The quote embedded in the name gets matched to first quote after the = in the SQL, and the SQL is broken upon execution. You either need to check all your data to see if it needs to haven embedded quotes escaped, or you use PreparedStatement and bind variables.
There are some SQL statements where, as far as I know, it doesn't matter much, e.g. DDL statements (table creation and the like) and connection altering statements, such as "ALTER SESSION SET NLS_DATE_FORMAT = 'YYYYMMDD HH24:MI'". I'm not sure either is cached, or if caching has any benefit; even if it is and there is, the SQL doesn't vary...
There are some very very rare times when (at least on Oracle), using a bind variable can increase the execution time for some values of the variable; the problem is very rare and is almost always caused by data skew; for most values of that bind variable, the correct thing to do is scan all the data in the table, but for a very few values, the correct thing is to use an index to look up the needed rows. When bind variables are used for that variable, the execution for the "typical" case is picked; if the SQL has the bind variable replaced with an actual value, the optimizer can see that for those few particular values, the index lookup is faster and will use that. This data skew problem commonly comes up with "job status" flags on tables that hold both "in progress" and "completed" jobs. Eventually, the "completed" jobs are 99.99 percent of the data, and find the non-completed ones gets slower than it should be.
Beginners should use PreparedStatements until they understand the exceptions or run into performance problems. -
give me the mm related standard tables
Description Table Name
Material Cost Distribution MAKV/MAKG/MAKZ
Other Related EMARA
Structure EMARC
MRP Related EMARC1
Purchase Related EMARC2
PPC Related EMARC3
Material Export Control MAPE/MAEX
Materials --> Task List MAPL
General Data MARA
C Segment MARC
Storage Location /Batch Seg. MARD
Unit of measure MARM/MAMT
Material Control record MARV
Material to BOM Link MAST
Material Valuation MBEW
Stock at Production Storage Bin MBPR
Material Document MSEG
Sales Order Stock MSKA
Special Stocks with Customer MSKU
Project Stock MSPR
Material Master status MSTA
General Data LFA1
VAT Details LFAS
Company Code LFB1
Dunning Details LFB5
Bank Details LFBK
Transactions Details LFC1
Ex/Im Related Details LFE1
Supplying Region LFLR
Purchase Organisation LFM1
Purchasing Data LFM2
Partner Functions WYT3
Stocks MSLB
Vendor Evaluation - Header ELBK
Vendor Evaluation - Material related ELBM
Vendor Evaluation - Main criterion ELBP
Basic Data ASMD
Service Short texts ASMDT
General Data EINA
Purchase Organisation Data EINE
Order Price History EIPA
Ex/Im Header Data EIKP
Ex/Im Detail Data EIPO
Purchasing Source lists EORD
General Data KOMG
Conditions (Item) KONP
General Data AEBAN
Requisitions EBAN
I/O for purchase req. RM06E
Purchasing Docu. Header EKKO
Purchasing Docu. Item EKPO
Conditions in PO KONV
Scheduling Agreement Release Documentation EKEH
Header Data for Scheduling Agreement Releases EKEK
Order Acceptance/Fulfillment Confirmations EKES
Delivery Schedules EKET
Partner Roles EKPA
Quota file header EQUK
Quota file item EQUP
Purchasing Docu. Item EKPO
Release Documentation EKAB
Vendor Address EKAN
History of Purchasing Document EKBE/EKBZ
Purchasing Condition EKKI
Account Assignment EKKN
Shipping Specifications EKPV
Order Acceptance/Fulfillment Confirmations (Shipping documents) EKES
ERS Procedure EKRS
Reservation/dependent requirements RESB
Document Header: Reservation RKPF
CLASS HEADER DATA KLAH
Class Type Texts TCLAT
Characteristics of a Class KSML
Characteristic CABN
Characteristic values CAWN
Value Texts CAWNT
Allocation Table: Object to Class KSSK
Object to Characteristic Values AUSP
Material master valuation info if split valuation is used
MBEW
Batch master MCHA
Storage location batches quantities if batch mgmt is cross plant MCH1
Storage location batches quantities if batch mgmt is not cross plant MCHB
Stocks with vendor (includes batch level) MSLB
Stocks against Sales orders ENT5117
ENT5117 comprises MARD, MSKA
Confirmation control keys T163E
Customising - Description of confirmation control keys T163F
Customising - Link between confirmation control key and confirmation T163G
Confirmation control keys description T163M
Confirmations table for purchase orders EKES
PO line item details -confirmation control key for a PO line item EKPO
Incoterms General TINC/TINT
A/C entries BSIM
Against Orders AUFM
Purchase Order CEKKO
Purchase Requisition CEBAN
Preliminary posting doc.segment for vendors VBSEGK
Preliminary posting doc.segment for G/L accts VBSEGS
Parked invoices have an entry in the BKPF table but do not have an entry in the BSEG table until they are actually posted In the VBSEGS table, all the material line items for a parked invoice are stored. When the parked document is actually posted, the entry from this table is deleted and an entry is made in the MSEG table as a final posting.
Storage Bins LAGP
Control Cycle Header PKHD
Storage Unit Header Records LEIN
Transfer Req. Header LTBK
Physical Inventory Document - Header IKPF
Physical Inventory Document Items ISEG
Physical Inventory Conversion Parameter Appendix ISEGO1
Physical Inventory Document Additional Quantities Appendix ISEGO2
LIFO Material Layer MYML
LIFO Period Stocks, Individual Material MYMP
LIFO-relevant materials MYMS
LIFo Pool Layer MYPL
Forecast Values PROW
Quality notification QMFE
Quality notification - items QMEL
Inspection lot record QALS
Inspection processing: Usage decision QAVE
Material and inspection link QMAT
Problems: Vendor Analysis S102
Problems: Material Analysis S102
Sales Related material data S004
Purchasing group related data S011
Purchasing related LIS reports S012
Vendor Evaluation data S013
Subsequent Settlement S015
Material Usage S026
Stocks related LIS reports S031
Current Stock & grouping terms S032
Movements for single records S033
Movements for Batches S034
Batch Stocks S035
Batch Analysis data S038
Planning S039
Vendor Statistics S068
Purchasing S080/S081/S082
Stock placements/Removals WM S090
Flow of Quantities S091
Stock/Requirements Analysis S094
LIS Related Views MCDY/MCL
Client T000
Account Assignments T163K/T163I
Authorization Objects TOBJ/TOBJC/TOBJT
Certificate Catg T069
Check Table Info. DD08L
Control Table for Vendor Evaluation T147
Currency Codes TCURC
Definition for Main Criteria for Vendor Evaluation T147A
Definition for Subcriteria for Vendor Evaluation T147C
Definition of Evaluation Paths T77AW
Definition of Scope of List: Vendor Evaluation T147M
Description of Evaluation Groups T087T
Description of Weighting Keys in Vendor Evaluation T147F
Descriptions of LIS Information Structures TMC4T
Descriptions of Logical Screens T133B
Descriptions of Material Status from MM/PP View T141T
Descriptions of Release Groups T16FH
Descriptions of Release Indicators for Services T16FM
Descriptions of Release Indicators: Purchasing Documents T16FE
Descriptions of Release Strategies T16FT
Division Master TSPA
Domain Names DD01L
Domain Range DD07L
Field Names DD04L
Inv. Management: Text Table for Trans./Event Types Allowed T158T
Inv. Managmt Print Function: Active Form Version, Labels T159M
Inv. Mngmt - General: Transaction/Event Types Allowed T158V
Inv. Mngmt Print Function: Maintain Text Name for Labels T159O
LIS - Environment generation sample reports and references TMCE
LIS Default Sets and Format Classes TMCSE
LIS Evaluations TMCSA
LIS Evaluations: Texts TMCST
LIS Information Structures TMCSB
LIS Libraries TMCSC
LIS objects TMCO
LIS Planning: Key Matrix Selection Control Table T444P
LIS Planning: Screen Sequence Control Table T444K
LIS Readings for Internal Number Assignment: Alphanumeric TMCSD
LIS Standard Reports/Layouts for Evaluations TMCSF
LIS Standard Reports/Layouts for Evaluations: Texts TMCSG
LIS Transaction Code Control TMCTC
LIS: Characteristic Texts (external data and R/2) TMCTX
LIS: Status Management - Updating TMC2
Logon data USR02
Main Criteria in Vendor Evaluation T147G
Material authorization groups in quality management TQ01B
Material Group T023
Material Group Descriptions T023T
Material Groups T023
Material Ledger Table TCKM1
Material Ledger Text Table TCKMT
Material master field selection T130A
Material master screen sequence control T138B
Material Pricing Group 1 TVM1
Material pricing group 1: Description TVM1T
Material Pricing Group 2 TVM2
Material Pricing Group 2: Description TVM2T
Material Pricing Group 3 TVM3
Material pricing group 3: Description TVM3T
Material Pricing Group 4 TVM4
Material pricing group 4: Description TVM4T
Material Pricing Group 5 TVM5
Material pricing group 5: Description TVM5T
Material Pricing Group for Export/Import: Descriptions TVFMT
Material Pricing Group: Shipping Materials TVEGR
Material Pricing Group: Shipping Materials: Designations TVEGRT
Material statistics groups TVSM
Material Status from Materials Management/PPC View T141
Material Substitution: Reasons TVSU
Material Substitution: Texts for Reasons TVSUT
Material Taxes TSKM
Material Type Descriptions T134T
Material Types T134
Material Types Allowed in BOM T415M
Material: Account Assignment Group Texts TVKMT
Material: MRP profiles (definition) T401A
Materials Provided Indicator Texts T417T
Materials Provided Indicators T417
Materials: Account Assignment Groups TVKM
Materials: Item Category Groups in Mat.Master: Texts TPTMT
Materials: Item Category Groups in Material Master TPTM
Materials: Product Hierarchies T179
Materials: Product hierarchies (inverse) T179I
Materials: Product hierarchies: Texts T179T
Materials: Sales status TVMS
Materials: SD Status: Texts TVMST
Materials: Statistics groups: Texts TVSMT
Movement Type T156
Movement Type Text T156T
Movement Type: Quantities/Value Posting T156S
Movement Types: Screen Selection T156B
MRP T024D
MRP default values per material type TMW00
MRP description T438T
MRP distribution key (texts) T437W
MRP group text T438X
MRP lot sizes T439A
MRP Profile Descriptions T401T
MRP transaction control T450
MRP Type T438A
Physical Inventory Stock Types T064A
Physical Inventory Stock Types and Allocated Movement Types T150
Physical Inventory: Texts T064T
PO Tolerance Limits T169G
Pricing Procedure T683
Pricing Procedure: Data T683S
Pricing Procedures: Determination in Sales Docs. T683V
Pricing Procedures: Procedure: Texts TVKVT
Pricing Procedures: Texts T683T
Pricing Procedures: Transaction TVKV
Purchase Order History Categories T163B
Purchasing Area T026
Purchasing Document Types T161
Purchasing Group T024
Purchasing Groups T024
Purchasing organisations T024E
Purchasing Organizations T024E
Purchasing Organizations T024Z
Purchasing value key T405
Purchasing Various Control Parameters TMED
R/3 Objects TADIR/TRDIR
Release Codes T161E
Release Codes T16FC
Release Groups T16FG
Release Indicator, Purchase Requisition T161S
Release Indicators: Purchasing Document T16FB
Release Indicators: Service Entry Sheet T16FL
Release Point Assignment for Purchase Requisition Release T161F
Release Prerequisite, Purchase Requisition T161G
Release Prerequisites T16FV
Release Statuses T16FK
Release Strategies T16FS
SAP Tables DD02L
Scope of List: Vendor Evaluation T147O
SQL Tables DD06L
Stock display: basic list/detail list T136
Stock Mngmt Levels for Inventory Sampling T064S
Stock Types and Allocated Fields in Physical Inventory T150F
Stock Types and Texts for Physical Inventory T064B
Stock Types and Their Values T156C
Storage Bin Structure for Automatic Creation of Storage Bins T343
Storage Bin Type Search T334P
Storage Classes T646L
Storage Classes Allowed per Storage Type T331L
Storage Condition Texts T142T
Storage Conditions for Materials T142
Storage for Search Terms TSFST
Storage Locations T001L
Storage Section Indicators T304
Storage Section Names T302T
Storage Section Search T334B
Storage Type Control T331
Storage Type Control for Block Storage T331B
Storage Type Descriptions T301T
Storage Type Indicators T305
Storage Type Search T334T
Storage Unit Type Check T334E
Storage Unit Types T307
Table + Field Name DD03L
Table Tech. Specs DD09L
Table/Field Def. DD03VV
Texts for Main Criteria in Vendor Evaluation T147B
Texts for Scope of List in Vendor Evaluation T147N
Texts for Subcriteria in Vendor Evaluation T147D
Transaction Code Texts TSTCT
Transaction Codes T588A
Transaction Control: Inventory Management T158
Transaction Control: Physical Inventory T158I
Transaction Control: Services Management T265
Transaction Description T167T
Transaction Parameters T7032
Transaction Texts: Invoice Verification T169X
Units of Measure T006
User address data USR03
User master record USR01
Valuation - Control TKEVA01
Valuation acc. to Length of Absence T5A4T
Valuation area T001K
Valuation area control table TCKM2
Valuation Category/Valuation type T149B
Valuation Class Descriptions T025T
Valuation Classes T025
Valuation Classes T025
Valuation Classes T554O
Valuation difference temporary storage TBKOW
Valuation Levels for LIFO Inventory Valuation T001Y
Valuation method names T044B
Valuation methods T880B
Valuation of Pay Scales for Statistics T5D3N
Valuation Strategies (CO-PA) TKEVA02
Valuation type/valuation class T149
Valuation types for valuation area T149A
Valuation variant for order costing TCO10
Valuation Variants in Costing TCK05
Valuation Variants in Costing - Texts TCK06
Valuations T863W
Vendor account groups T077K
Vendor Evaluation: Assignment Percentages - Points Scores T147K
Vendor Hierarchy Category TLHIT
Vendor master data screen selection (purch.org.) T079M
Warehouse costs for MRP lot size T439L
Warehouse Number Descriptions T300T
Weighting Keys in Vendor Evaluation T147J
WM Default Values T340D
WM Movement Types T333
WM Names of Storage Bin Types T303T
WM Screen Selection T341
WM Storage Bin Types T303
WM Storage Sections T302
WM Storage Types T301
WM Transactions T340
WM Warehouse Numbers T300
WM: Assignment MM Storage Location to WM Warehouse Number T320 -
i am getting error when i am droping a user with cascade.
VBO-5530 user cannot be dropped. ORA-00604: error occurred at recursive SQL level 1
ORA-24170
ORA-06512: at "SYS.DBMS_RULE_ADM", line 129
can somone help mei have object type EVALUATION CONTEXT,
How i can drop this object.
OBJECT_NAME OBJECT_TYPE
AQ$_CACHESYNC_MESSAGES_V EVALUATION CONTEXT
SQL> drop EVALUATION CONTEXT AQ$_CACHESYNC_MESSAGES_V;
drop EVALUATION CONTEXT AQ$_CACHESYNC_MESSAGES_V
ERROR at line 1:
ORA-00950: invalid DROP option -
Weird behaviour with Variables of a Stored Procedure
Hello All,
I'm writing following stored procedure and it is failing with following error
"Conversion failed when converting from a character string to uniqueidentifier"
What's Happening?
I've created
Create Procedure usp_Sample
AS
Declare @Var Int
Select @Var = Key From MyKeyTable Where Name = 'XYZ'
Select * From BaseTable A
LEFT JOIN JoinTable B
ON A.UniqueIdentifierField = CONVERT(UNIQUEIDENTIFIER,B.VarcharField)
AND B.Key = @Var
GO
Procedure got created and when you execute it you see the above error...
If I remove the Variable and HardCode it with any value then it runs fine...
Could someone tell me what is wrong with the variable here? (I Can't hardcode the Variable Value In the Proc).
"BaseTable" has a field that is UniqueIdentifier and "JoinTable" has a NVARCHAR (1020) Field. But JoinTable has proper UniqueIdentifier data.
Let me know if you need anymore info...
--Roger
UnknownCould someone tell me what is wrong with the variable here? (I Can't hardcode the Variable Value In the Proc).
You are making the mistake to assume that just because is no error message, nothing is wrong.
Apparently there are values in the varchar column which are not GUIDs, so saying
CONVERT(UNIQUEIDENTIFIER,B.VarcharField)
is an accident waiting to happen. But it does not have to blow up, just like you don't have to crash when you drive on the wrong side of the road. If you are lucky, there are no cars there in that moment.
There is no defined order in which operands are evaluated in SQL Server, and using a variable or a constant is very likely to give you diffeent query plan.
If you are on SQL 2012, use try_convert instead which will return NULL if the value does not convert. But Naomi is probably right when she suggest that you should convert the GUID to string, given the structure of the query.
Erland Sommarskog, SQL Server MVP, [email protected] -
How to break a number into pieces and get the sum or product of the numbers
on 10.2 I tried to use regular expression but TO_NUMBER function does not work with REGEXP_REPLACE as below;
SQL> SELECT regexp_replace(123456,
2 '(.)',
3 '\1+') || '0' RESULT
4 FROM dual;
RESULT
1+2+3+4+5+6+0
SQL> SELECT 1+2+3+4+5+6+0 RESULT FROM dual;
RESULT
21
SQL> SELECT regexp_replace(123456,
2 '(.)',
3 '\1*') || '1' RESULT
4 FROM dual;
RESULT
1*2*3*4*5*6*1
SQL> SELECT 1*2*3*4*5*6*1 RESULT FROM dual;
RESULT
720I recieve ORA-01722: invalid number as below;
SQL> SELECT to_number(regexp_replace(123456,
2 '(.)',
3 '\1+') || '0') RESULT
4 FROM dual;
SELECT to_number(regexp_replace(123456,
'\1+') || '0') RESULT
FROM dual
ORA-01722: invalid numberAny comments? Thank you.On 11g you can use this:
SQL> select level
2 , regexp_replace(level,'(.)','\1+') || '0' sum
3 , xmlquery(regexp_replace(level,'(.)','\1+') || '0' returning content).getNumberVal() sum_evaluated
4 , regexp_replace(level,'(.)','\1*') || '1' product
5 , xmlquery(regexp_replace(level,'(.)','\1*') || '1' returning content).getNumberVal() product_evaluated
6 from dual
7 connect by level <= 100
8 /
LEVEL SUM SUM_EVALUATED PRODUCT PRODUCT_EVALUATED
1 1+0 1 1*1 1
2 2+0 2 2*1 2
3 3+0 3 3*1 3
4 4+0 4 4*1 4
5 5+0 5 5*1 5
6 6+0 6 6*1 6
7 7+0 7 7*1 7
8 8+0 8 8*1 8
9 9+0 9 9*1 9
10 1+0+0 1 1*0*1 0
11 1+1+0 2 1*1*1 1
12 1+2+0 3 1*2*1 2
13 1+3+0 4 1*3*1 3
14 1+4+0 5 1*4*1 4
15 1+5+0 6 1*5*1 5
16 1+6+0 7 1*6*1 6
17 1+7+0 8 1*7*1 7
18 1+8+0 9 1*8*1 8
19 1+9+0 10 1*9*1 9
20 2+0+0 2 2*0*1 0
21 2+1+0 3 2*1*1 2
22 2+2+0 4 2*2*1 4
23 2+3+0 5 2*3*1 6
24 2+4+0 6 2*4*1 8
25 2+5+0 7 2*5*1 10
26 2+6+0 8 2*6*1 12
27 2+7+0 9 2*7*1 14
28 2+8+0 10 2*8*1 16
29 2+9+0 11 2*9*1 18
30 3+0+0 3 3*0*1 0
31 3+1+0 4 3*1*1 3
32 3+2+0 5 3*2*1 6
33 3+3+0 6 3*3*1 9
34 3+4+0 7 3*4*1 12
35 3+5+0 8 3*5*1 15
36 3+6+0 9 3*6*1 18
37 3+7+0 10 3*7*1 21
38 3+8+0 11 3*8*1 24
39 3+9+0 12 3*9*1 27
40 4+0+0 4 4*0*1 0
41 4+1+0 5 4*1*1 4
42 4+2+0 6 4*2*1 8
43 4+3+0 7 4*3*1 12
44 4+4+0 8 4*4*1 16
45 4+5+0 9 4*5*1 20
46 4+6+0 10 4*6*1 24
47 4+7+0 11 4*7*1 28
48 4+8+0 12 4*8*1 32
49 4+9+0 13 4*9*1 36
50 5+0+0 5 5*0*1 0
51 5+1+0 6 5*1*1 5
52 5+2+0 7 5*2*1 10
53 5+3+0 8 5*3*1 15
54 5+4+0 9 5*4*1 20
55 5+5+0 10 5*5*1 25
56 5+6+0 11 5*6*1 30
57 5+7+0 12 5*7*1 35
58 5+8+0 13 5*8*1 40
59 5+9+0 14 5*9*1 45
60 6+0+0 6 6*0*1 0
61 6+1+0 7 6*1*1 6
62 6+2+0 8 6*2*1 12
63 6+3+0 9 6*3*1 18
64 6+4+0 10 6*4*1 24
65 6+5+0 11 6*5*1 30
66 6+6+0 12 6*6*1 36
67 6+7+0 13 6*7*1 42
68 6+8+0 14 6*8*1 48
69 6+9+0 15 6*9*1 54
70 7+0+0 7 7*0*1 0
71 7+1+0 8 7*1*1 7
72 7+2+0 9 7*2*1 14
73 7+3+0 10 7*3*1 21
74 7+4+0 11 7*4*1 28
75 7+5+0 12 7*5*1 35
76 7+6+0 13 7*6*1 42
77 7+7+0 14 7*7*1 49
78 7+8+0 15 7*8*1 56
79 7+9+0 16 7*9*1 63
80 8+0+0 8 8*0*1 0
81 8+1+0 9 8*1*1 8
82 8+2+0 10 8*2*1 16
83 8+3+0 11 8*3*1 24
84 8+4+0 12 8*4*1 32
85 8+5+0 13 8*5*1 40
86 8+6+0 14 8*6*1 48
87 8+7+0 15 8*7*1 56
88 8+8+0 16 8*8*1 64
89 8+9+0 17 8*9*1 72
90 9+0+0 9 9*0*1 0
91 9+1+0 10 9*1*1 9
92 9+2+0 11 9*2*1 18
93 9+3+0 12 9*3*1 27
94 9+4+0 13 9*4*1 36
95 9+5+0 14 9*5*1 45
96 9+6+0 15 9*6*1 54
97 9+7+0 16 9*7*1 63
98 9+8+0 17 9*8*1 72
99 9+9+0 18 9*9*1 81
100 1+0+0+0 1 1*0*0*1 0
100 rijen zijn geselecteerd.which doesn't work on 10.2 unfortunately. And I'm not aware of any other method to do a dynamic evaluation in SQL in that version.
Regards,
Rob. -
Hi!
I'm evaluating Oracle SQL Developer 30EA2 for other platforms with JDK 1.6.0_20 on Fedora Linux (I use the "other platforms" version because all I need to get it running is to unzip it in its own directory and it doesn't interfere with anything else on my system).
I can not get the popup menu via keyboard, only by the right mouse click. It doesn't work in Connections tab, nor in the SQLWorksheet.
Shortcut key for command Other-Popup Menu is Shift-F10 (stock default setting)
First I migrated the settings from previous installation (Version 2.1.1.64 Build MAIN-64.39) and it didn't work. I thought it may be because of mismatched settings, so I stopped SQL Developer,. deleted the ~/.sqldeveloper/system30.0.02.83 folder, started SQL Developer, but it does not work either.
I can get popup menu in the 2.1.1.64 version normally, by Shift-F10 or by pressing "popup key" (located between Win key and Ctrl key).
Please fix this, as this is a major obstacle for using SQL Developer without mouse. I use SQL Developer extensively every day, so keyboard only usage is essential to me.
Speaking of popup menu: there is a double "Refactoring" entry in the popup menu in SQLWorksheet.
Otherwise, SQL Developer is getting better and better! Keep up the good work!
bye
AlexHi Alex -
Just tested this on 3.0.02.97, Java(TM) Platform 1.6.0_21, Red Hat Enterprise Linux AS release 4 (Nahant Update 8), gnome
& both Shift-F10 and 'Context Menu' keystrokes work so will be in next rel;ease.
Brian Jeffries
SQL Developer Team
Maybe you are looking for
-
How can I get more of my persona to show at the top of the display screen?
Before downloading the newest Firefox, my persona at the top of the display screen showed at least 1/2 of the firefox. Now it's only the ears. How do I show more of it? Stupid question, I know, but it's bugging me.
-
I have a Powerbook G4 that's about 5-6 years old. I replaced the hard drive two years ago, and participated in Apple's battery replacement program four years ago and the adapter was replaced about three years ago. Here's the issue: Recently when I bo
-
When i click on itunes store a message comes up with itunes stopped working
when i click on itunes store a message comes up with itunes stopped working
-
Will PreLogin callback be invoked by SessionBroker?
Dear all, We have exteneds the SessionEventAdaptor with customized preLogin callback method. We registered it with the sessions.xml. However, we found that the callback method does not invoked when we login to the database with "SessionBroker". May I
-
Regex vs substring,toUpper, toLower, charAt.. etc
what is your creteria for choosing to use a small function of substrings vs doing the same thing with regex? it seems like from readability and maintainability standpoints (and maybe understandability in some cases) regex should always be used in my