ArcGIS SDO_GEORASTER BUG on Oracle 11g R2 - arcgis

ESRI suggests not to use SDO_Georaster data type on Orcle 11g R2 for the following reson:
http://support.esri.com/en/knowledgebase/techarticles/detail/38940
We had ArcGIS 10.1 setup on Oracle 11g R2 and we are able to insert data into SDO_GEORASTER data type.
Is there anyone that experienced that bug¸or was able to reproduce it ?
it looks like no body talks about it on the web! I must be missing something here :/
Is it really a bug ?

It looks like I've solved the problem...
We are now able to insert data into SDO_GEORASTER without any problem using Oracle 11g R2 using the following geoprocessing tool:
Data Management Tools => Raster => Raster Dataset => Copy Raster
The regionnal settings of my ArcGIS Desktop computer was French Canadian. So ArcGIS was inserting comas as decimal separators in the raster metadata.
I've found this by using the following to SQL commands:
SDO_GEOR.validateGeoRaster() and SDO_GEOR.schemaValidate()
Last night ESRI support team that was helping me confirmed that Regional settings would be to workaround for this bug:
Regarding the Oracle bug, it actually looks like Oracle has not adequately updated their bug database. Upon further investigation on our bug (NIM069549) that references the Oracle bug, there is an activity logged by one of the Esri Inc support staff. He mentions that he spoke to Oracle in May 2012, and that Oracle has actually closed this Oracle incident (12537431) as NOT a bug. This analyst says that the reason given is because OCIEnvNlsCreate uses the national language setting of the computer (Nls = National Language Setting). OCIEnvNlsCreate is used when creating an sdo_georaster and the failure occurs when the Oracle xml document is created.
Basically – the reason that users can experience this Oracle bug is
because of regional language settings in either the O/S or Oracle.
We have spoken to Esri Inc and have requested that the following be
updated to reflect this finding from Oracle:
NIM069549 - http://support.esri.com/en/bugs/nimbus/TklNMDY5NTQ5 NOTE:
have requested that the alternate solution be changed to state that it
can be caused by regional language settings. Also, reason for
rejection needs to be changed accordingly
Error: An Oracle LPX-0019 error occurs when inserting data into an
SDO_GEORASTER field
-http://support.esri.com/en/knowledgebase/techarticles/detail/38940 NOTE: have requested that the solution/workaround be changed to state
that it can be caused by regional language settings. Suggested to try
changing to English language setting.
ArcGIS and the Oracle Spatial raster type -
http://resources.arcgis.com/en/help/main/10.1/index.html#//002n0000006z000000
NOTE: this is the article with the known limitations at the bottom.
Since metadata is in XML format, it is quite possible that the commas
you were getting with the French language setting were directly
related to this issue. The Oracle XmlLoadDom function returns the
erorr, so you will see this error in Oracle, not in ArcMap.

Related

Keywords such as GENERATED are not available on Azure SQL Studio

After discovering the usefulness of Temporal Tables, I have tried to implement it using Azure SQL Data Studio.
However, I get syntax errors when using Keywords such as GENERATED or SYSTEM_VERSIONING.
Is there a fix for this ?
What version of ADS are you using? It looks fine with the latest stable version (1.17.1) for me
[
If you're still seeing this on the latest version please open an issue here https://github.com/microsoft/azuredatastudio/issues and we'll investigate.

Difference in data retrieved with full-text index search in SQL Server 2012 and SQL Server 2016

There is an issue with full-text search in SQL Server 2012 while it works fine in SQL Server 2016.
I have the following sample images showing the output of the similar query which returns data with underscore in 2016 and in other screen it doesn't return any data with underscore and that is in SQL Server 2012.
In SQL 2012
In SQL 2016
Can anyone suggest a solution for this or any reference suggesting the solution for this issue and also the explanation why this kind of behavior is seen in between these SQL Versions.
After working on finding a solution for this issue with full-text search it is identified as the work breaker .dll is been built on different versions of SQL Server with certain special characters as word breakers.
We cannot view the list of word breakers to confirm this as it is built on .dll based architecture and we can only get the paths indicating the .dll file location's. To manually add a character to this word breaker .dll, it can be very complicated and time taking process and will have to do reverse engineering with the .dll's and try to add the above mentioned "underscore" as a word breaker and recreate the .dll.
https://dba.stackexchange.com/questions/50366/sql-server-2012-full-text-search-break-word-underscore
Partial fix with reference to the above URL they were able to get the result by changing the language to Chinese (1028) and we cannot do that as it can create other issues related to synonym search using full-text.

SQL - Attempted to read or write protected memory

I'm trying to use a functions on the SQL SSMS2014 and I get the error on the title.
I can create new tables and databases no problem if i do it with a new query, but afterwards i can't edit or use the design function without getting that error on any of the databases that i have.
Most of the similar errors i found were related to connection to the database, but none of the fixes on those worked for me.
My guess is that the error message you are getting is:
the backend version is not supported to design database diagrams or tables
Solution:
This is commonly reported as an error due to using the wrong version of SMSS. Use the version designed for your database version. You can use the command select ##version to check which version of sql server you are actually using. This version is reported in a way that is easier to interpret than than shown in the Help About in SMSS.
Using a newer version of SMSS than your database is generally error free, i.e. backward compatible.

Locale ID SQL Server issue

I am having a problem replicating a SQL server database. I am using a transactional replication and just finished creating my local publication when i receive this error while the snapshot agent was running:
A .NET Framework error occurred during execution of user-defined
routine or aggregate "sp_scriptdropinsreconciliationproc_sqlclr":
System.Data.SqlClient.SqlException: The locale identifier (LCID) 1072
is not supported by SQL
Can someone please help me with this situation? thanks & much appreciated.
So solving this issue was simple.i had the wrong windows locale language pack selected when SQL server was installed the first time .Steps i took:
uninstall SQL server.
changed locale ID to its appropriate selection (South African to USA Locale as SQL Server did not recognize my locale ID "soto" (South Africa). ).
re-installed SQL Server on the new locale ID.
Replication works.
Great Success.
So Tanner was right but i wanted to provide a clearer answer to those who might experience this problem in future.

"Index was outside the bounds of the array" while Compare SQL schema by SQL compare tool

I got one problem from comparing database schema as i use Red gate SQL Compare 6 , after initialization of the compare databases error is coming as following
"Index was outside the bounds of the array".
Please provide your valuable comments to get resolve this issue.
Have you tried upgrading? The latest version released is 8.1, and your issue might have been fixed in the intervening versions. You can also try posting on their support forums...
Don't use version 6 on 64 bit versions of SQL Server... Or 7, it appears.
The computer running SQL Compare is using a 64-bit edition of Windows
One or more of the servers being compared are SQL Server 2005 or higher
The Decrypt encryped objects on SQL 2005 and 2008 databases option is selected
I've been using Redgate stuff since 2003 and don't remember this error.
I really would consider upgrading...
Try dbForge Scheme Compare for SQL server. It can compare and synchronize any database scheme. Quick, easy, always delivering a correct result. See how it flies on your database!