Join Num with Char, is it possible? Any way to work around that?
Hi there
Is it possible to join a column (in one folder) that defined as NUM with a column (in another folder) that defined as Char? Is any way that I can convert Char to NUM (because information stores in there are number - but show as text number)?
Here is the example, we have Order Lines Folder that has column HeaderID (NUM) and we want to join Order Lines Folder with Materials Transaction Folders on Transaction Reference column (as Char). Is it possible at all?
Thanks!
Nawawan
Hello
This is possible and done all the time. You can convert either way.
To convert from a number to a string use the function TO_CHAR.
To convert from a string to a number use the function TO_NUMBER.
So in your example you could use:
OE_ORDER_LINES_ALL.LINE_ID = TO_NUM(MTL_TRANSACTIONS_REFERENCEx) where MTL_TRANSACTIONS_REFERENCEx is the transaction reference field.
Be careful to join at the right level. To work at the Header level use the HEADER_ID, whereas from the line you should use the LINE_ID, unless the table you are joining to is a header level table.
Hope this helps
Michael
Similar Messages
-
when i try to make an itunes account it i cant find "none" by payemnt method and i dont have a credit card. any way to get around that?
Unless the instructions on this page are followed when creating an account : http://support.apple.com/kb/HT2534
then credit card details will need to be entered before the account can be used to download any item from the store.
If created the account (e.g. you're not in the process of creating it and are stuck on the payment screen) and you are being prompted to review it then you could see if this post by mountaingoatgirl lets you reviewit without needing to enter credit card details : https://discussions.apple.com/message/24303054
If not then you will need to create a new account, and follow the instructions on that HT2534 page when creating it. If you want to use the same email address then you will need to replace it on that account first e.g. by logging into it via the Store > View Account menu option on your computer's iTunes or via http://appleid.apple.com
Creating an account with 'none' via a computer's iTunes : https://discussions.apple.com/message/24321860 -
Is there any way to work around administrator passwords to reset?
I have lost record of my administrator name and password for my iMac. Is there any way around it to reset it? There are multiple users and each time someone tries to log off, it requests administrator rights, forcing a hard shutdown.
I don't understand why that should be happening. I'm not seeing anything, at least on my 10.6 in SysPrefs>Security, that would account for that.
http://support.apple.com/kb/HT1274 -
i share an itunes account with me mum is there any way to split my phone off while not deleteing my mums stuff as well?
You can select with items so sync if you dont want everything on there. Just click the iphone in itunes and click music. THere you can pick and choose what you sync.
-
i'm having trouble with installing a 8g kit in my late 2009 mac mini. when the parts are installed all i get is a beeping sound, is there any way to get around this?
What is the source & link to this 8 GB kit please?
Can you count the beeps or flashes?
1 beep = no RAM installed
2 beeps = incompatible RAM types
3 beeps = no good banks
4 beeps = no good boot images in the boot ROM (and/or bad sys config block)
5 beeps = processor is not usable
In addition to the beeps, on some computers the power LED will flash a corresponding number of times plus one. The LED will repeat the sequence after approximately a 5-second pause. The tones are only played once.
Note: In this case, a flash is considered to be 1/4 second or 250 ms or greater in length.
http://support.apple.com/kb/HT1547 -
is there any way i can do that? i have a back up from 2 days ago and i don't have my iCloud sync with my photo
When restoring from the backup, whatever is included with the backup from two days ago should be restored which includes photos/videos in the Camera Roll at the time of the backup along with all other data included with the backup at the time of the backup two days ago.
-
I gave my grandson an IPOD touch and it was stolen before he registered it with ICLOUD. Is there any way to track it?
If your iPod was purchased with a credit card, check with the card company. Some cards provide Purchase Protection insurance which will replace or repair any item lost, stolen or damaged within 90 days of purchase.
-
I just bought an iPhone 4 a few weeks back. I tried to delete their icloud account, and add mine but it's asking for a password to delete it. I have no way to get in contact with them. Is there any way around it?
There's no way around it. The former owner needs to erase the phone and remove it from their account as explained here: http://support.apple.com/kb/TS4515. No one else can help with this, including Apple.
-
Changed my password on my ipad recently - now cant remember it. I hadn't yet synced my ipad with my macbook - is there any way I can retrieve my photos on my ipad before i restore it.....
Arghhhh thought so.
-
I have updated my IPhone 4s to ios6, but for some reason it didn't install Siri with the update, is there any way I can install it onto my IPhone without jail breaking the phone?
Macca_astles01 wrote:
It is an iPhone 4s, it has voice control but it's not Siri, is there any way I can install it?
It cannot be installed. It comes pre-installed on every iPhone 4S and later. Maybe it was disabled under Settings > General > Restrictions.
Courcoul wrote:
Wasn't SIRI one of the gee-wiz doodads introduced with iOS 6? Cause my boss' 4s w/iOS 5 certainly does NOT have it. And on my i5, the Spanish-speaking SIRI I got turned out female, with all the foibles and vicissitudes....
iOS 6 only added support for the 3rd generation iPad. It was always on the iPhone 4S. Then the same goes for your boss: Maybe disabled in restrictions, or maybe actually an iPhone 4. -
With Firefox 6, is there any way to allow cookies for the browsing session and then automatically erase cookies when the browser is closed? On older versions this option was available.
For more help, see the '''[[Tabbed browsing]]''' page.
-
Is there any way to work on one Catalog from two computers simultaenously?
Is there any way to work on one Catalog from two computers simultaenously?
I have a catalog with 7000 images we have to process / crop / etc. and I was trying to find a way that two of us could work on the images at the same time.
Thanks!No, the LR catalog is not multi user capable (and cannot reside on a network share without tricks). What you could do is
export part of the catalog (a subset of all images) into a separate catalog ("Export as Catalog", without exporting the negatives)
work on different images in the two catalogs at the same time
re-import ("Import from Catalog") the exported work after adjustments on it is finished
Beat -
Is there any way to an index that can be used to include the "OR condition "?
Hello I have some questions.
The test was conducted in the following procedure .
create table test
c1 varchar2(10),
c2 varchar2(10),
primary key(c1)
create index test_idx1 on test(c2);
Command> explain select * from test where c1 = 'AAAAAAAAAA' or c2 = 'AAAAAAAAAA';
Query Optimizer Plan:
STEP: 1
LEVEL: 1
OPERATION: RowLkRangeScan
TBLNAME: TEST
IXNAME: TEST
INDEXED CONDITION: <NULL>
NOT INDEXED: TEST.C2 = 'AAAAAAAAAA' OR TEST.C1 = 'AAAAAAAAAA'
Command>
Command> explain select * from test where c1 = 'AAAAAAAAAA' and c2 = 'AAAAAAAAAA'
Query Optimizer Plan:
STEP: 1
LEVEL: 1
OPERATION: RowLkRangeScan
TBLNAME: TEST
IXNAME: TEST
INDEXED CONDITION: TEST.C1 = 'AAAAAAAAAA'
NOT INDEXED: TEST.C2 = 'AAAAAAAAAA'
Command>
By including the "OR condition " in this test does not use the index.
Is there any way to an index that can be used to include the "OR condition "?
Thanks.
GooGyum.A database cannot in general use indexes in this way for an 'or' involving two different columns. However, for this specific example one can easily rewrite the query using 'UNION' to use the relevant indexes while still giving the same (correct) result:
Command> explain select * from test t1 where t1.c1 = 'AAAAAAAAAA' union select * from test t2 where t2.c2 = 'AAAAAAAAAA';
Query Optimizer Plan:
STEP: 1
LEVEL: 1
OPERATION: RowLkRangeScan
TBLNAME: TEST
IXNAME: TEST
INDEXED CONDITION: T1.C1 = 'AAAAAAAAAA'
NOT INDEXED: <NULL>
STEP: 2
LEVEL: 2
OPERATION: RowLkRangeScan
TBLNAME: TEST
IXNAME: TEST_IDX2
INDEXED CONDITION: T2.C2 = 'AAAAAAAAAA'
NOT INDEXED: <NULL>
STEP: 3
LEVEL: 1
OPERATION: OrderBy
TBLNAME: <NULL>
IXNAME: <NULL>
INDEXED CONDITION: <NULL>
NOT INDEXED: <NULL>
STEP: 4
LEVEL: 2
OPERATION: UnionMergeSort
TBLNAME: <NULL>
IXNAME: <NULL>
INDEXED CONDITION: <NULL>
NOT INDEXED: <NULL>
Maybe you can apply a similar trick? If you know there is no possibility of duplicate rows then you can further optimise this (in terms of performance) by using UNION ALL.
Chris -
Is there any way to retrieve photos that were put in the trash can and then it was emptied? Or is there a way to move photos from an imovie to iphoto?
If you've emptied the trash, ehtn no. However if you have a backup, like Time Machine, or a recent backup copy of your photo library you could recover the photos from the trash.
The answer to getting a snapshot form iMovie depends on what version you have.
I should add it technically may be possible to recover the emptied trash, but if you really want to do that you would need to download a utility software that can attempt to recover deleted files. Do it soon before you start writing more data to that disk. At the moment I don't have a recommendation for such a program. Maybe someone else out there will offer suggestion. -
I've been working on a newsletter and have the final version. But I wanted to check something in a verssion I did last week. If I choose the day in Time Machine, is there any way I can view that document without "restoring" it to replace the final version?
You can drag and drop a file from TM to the desktop.
Let's say your newsletter is on the desktop. First thing to do is to add something to the file name, say Newsletter_1.
Next open TM as if it is just another external drive by double clicking the icon. (This is not the same as "Enter Time Machine" which you do when you want to restore.) The file hierachy in TM follows the same logic as on your hard drive. Navigate to the date you want, find the file you want, and drag and drop it where you want it to be. Because you changed the name of the most recent version you can both files in the same space.
I do this often.
But remember if you make a back up now you will end up with both versions in TM.
Maybe you are looking for
-
I would like to find a file manager/ image browser like ACDSee 32
Coming from the Windows environment (it is where I make my living) I have found the Mac environment to be significantly different and pose a considerable learning curve especially when it comes to file management. I like to be able to view and manage
-
NLB Web Front End (WFEs)servers & Clustering IIS Application Pool between the two WFEs
Hi All, I have just encountered a very bad experience in my Production environment.My topology is as follows: NLB WFEs, MOSS APP server, Cluster DBs, DCs. NLB on the WFEs is working fine. However, for some unknown reason, one of my site under the App
-
The full message reads 'The file contains conflicting spot color information. Spot and process colors cannot share the same name. Please resolve the spot color conflict and try reopening this file.' The problem is the file just closes after that. If
-
When I launch firefox 3.6.8 2 tabs open for my home page instead of just one.
Just installed 3.6.8. At launch 2 tabs are opened, both for my home page. I have closed out several times and relaunched but each time 2 tabs are opening. Just looked at the plug-ins listed below and have no idea why I would have a plug-in for Netsca
-
Profiler in SQL Developer not working
When I run the profiler in SQL developer , I get the following error. "Directory exists; check if /tmp exists on file system, and oracle has permission to write there. " This error sounds like an UNIX error but I am running SQL developer on Windows 7