SAS Oracle Data Issues - oracle

I'm having an issue regarding special characters. I use SAS to connect to an Oracle database and then download tables from Oracle to SAS datasets.
Previously, special characters where downloaded correctly without a problem. I've recently received a new laptop at work and since then there has been some data issues.
Basically, what is happening is that special characters are removed or completely replaced. For instance, é is being replaced by e. á replaced with a. Other special characters are just completely removed and replaced with '?'
I've read a bunch of articles about encoding, transcoding and NLS_LANGUAGE, but I just can't figure out why this is happening and how to fix it. My other colleagues who are still using old laptops do not have this same issue!
Please, any help would be GREATLY appreciated

Check your Windows Registry. On my machine the setting is at HKEY_LOCAL_MACHINE\SOFTWARE\oracle\KEY_OraClient11g_home1\NLS_LANG. Compare this key to that of coworkers who use SAS w/ Oracle and still have the older laptops.

Related

Issue with Mac OSX Terminal, shows special character codes like space, brakets

I have recently used "localedef" command to add support for the multiple locales.
After doing that I noticed on my terminal for every "space, backslash, forward slash etc" it is showing UTF code like <0200> <002d> etc.
I really want to disable this behaviour as it is really difficult to read commands.
For more clarity please see attached screenshot.
Issue has been caused due to localedef I am able to confirm post getting a reply from Apple Support team.
As per the support team instruction I created a New User Account and checked terminal. With new account terminal worked well.
Best solution is
New User Account if we want avoid any manual effort.
Otherwise you should compare ENV variables of Old account and New account and fix the issue.

What is the easiest way to open/view a Firebird database?

I have a .FDB Firebird file from an commercial Application we don't use anymore. It contains my customer data an I want to export or access it in some manner.
I have seen many procedures that require Firebird server installation, JDBC, ODBC drivers, GUI (I tried RazorSQL) tools that are just to complex for me to handle. I have been hitting into one problem or another every time, solve point by point but still hitting the wall.
Does anyone have a quick and easy way to simply open it (preferably on Mac OSX)? One that a non-Firebird / database tech guy can actually follow?
I finally found what was the issue.
It turns out that the path file to the .FBD file was the culprit. Mine had Portuguese accented words on the folder name. It seems like isql does not accept it. I moved the file to Desktop and the following command worked fine.
SQL> CONNECT /Users/user_name/Desktop/db_name.FDB;
Still haven't been able to use any Razorsql Gui tool though. It seems to have an issue with the JDBC driver.

Toad € to € symbol Oracle euro UTF-8

I am using Toad 9.0.1.8.
A table in a column was showing a euro € symbol as €
I've tried changing the environment variable NLS_LANG=AMERICAN_AMERICA.AL32UTF8 in my windows machine, I've also tried using American_America.UTF8 and American_America.WE8ISO8859P1, yet it did not get resolved, I'm still seeing the characters but not a euro symbol. Every time i changed the env var, I restarted Toad.
Could somebody help? Tried some solutions by searching online, nothing worked.
Maybe you have a character set issue in you DB? From this thread it seems to be a problem with DB settings.
Also some suggestion on charset issues suggest upgrading to version 10 of Toad if that is an option since it's a unicode release.

Oracle error ORA-25188 spontaneously appearing for unknown reasons

A remote installation of some software using Oracle 11.2 is being reported with the following errors:
ORA-25188: cannot drop/disable/defer the primary key constraint for
index-organized tables or sorted hash cluster
These errors seem to be happening everywhere. Even for basic inserts. As far as I can tell, I don't drop or alter any indexes in my IOT tables. And I've never had any issues like this in the past few years (the software hasn't changed much). The other thing I should mention is that these errors just started popping up after several days of error-free activity.
So I got a dump of the entire schema. I then imported it into my own Oracle system, and connected my application to it. Everything works fine! I don't have easy access to the actual system, so I am not able to investigate directly.
Is there any indirect reason why the system could be generating ORA-25188 or some bad state that could cause this error?
Try to PURGE RECYCLEBIN or PURGE DBA_RECYCLEBIN, this can help in some situations.
For second variant you must logon as sysdba.

Shortened filename on Windows with Syntology NAS

Folders on Syntology NAS that contain an accent character are shown shortened on my Windows 7 machine.
i.e
Folder Béla Fleck and The Flecktones is shown in Windows as W:\Music\B39PEX~5
Why is this so, and can I change this so it doesnt happen
If I'm not mistaken this is most certainly Samba server issue. Samba is file accessing, sharing and exchanging protocol. And in most times it doesn't like UTF-8 encoded file names. If you have some old version of Samba installed on your NAS, this could be the answer. Plus: if your NAS runs under Linux and you access it from Windows, an additional problems takes place, as any Windows' Samba client is so poorly written that is has many issues and problems, which you won't find in Samba clients for other systems.
In general, solution is only one: Stop using non-standard characters in your file names and folders. I wasted so many hours on finding similar solution and ended up with a big rename solution to get rid of such "bulky" names.

Resources