Select special
Hi Everyone, could you help me please?
My trouble is this:
I have a table with three columns like this
IDX NAME NUMBER
1 A 30
2 B 10
3 C 30
4 D 20
1 A 10
2 B 20
4 D 20
IDX isn't a primary key. Number is a foreing key. I need a select where I display distinct NAME order by NUMBER.
Thanks for your help.
>
I have a table with three columns like this
IDX NAME NUMBER
>
Really? NAME and NUMBER are terrible choices for column names as they are Oracle reserved words. Change these to avoid future problems.
I need a select where I display distinct NAME order by NUMBER.Meaning what? There are multiple NUMBERs per NAME: order by which? Depending on this, there are some NAMEs that can correspond to the same NUMBER: does this need to be resolved by further ordering?
SQL> with t as (
2 select 1 idx, 'A' z, 30 x from dual
3 union all
4 select 2, 'B', 10 from dual
5 union all
6 select 3, 'C', 30 from dual
7 union all
8 select 4, 'D', 20 from dual
9 union all
10 select 1, 'A', 10 from dual
11 union all
12 select 2, 'B', 20 from dual
13 union all
14 select 4, 'D', 20 from dual)
15 select
16 z
17 from
18 (select
19 z
20 , min(x) min_x
21 , max(x) max_x
22 from
23 t
24 group by
25 z)
26 order by
27* min_x /* or max_x */
SQL> /
Z
A
B
D
C
Similar Messages
-
Problem with selecting special distance
This used to work on my old iPod.
Now when I select special time I get a calories menu and can select 5,10,15 .ect. When I start workout the selected training is in minutes.
The trouble is that I canot select other intervals as I used to, and that it is a calories menu.
I have tried software update and ipod reset. My iPod is the new generation.
/ingerThis is now reported to Apple support (DK) as an error in the danish software for 4'th gen iPod. Switching the language to English solves the problem until an update is awailable.
/inger -
How to select special character from OLE DB source in SSIS?- Truncation error.
Hi,
I have to pull data from one Oracle table and for that I am using OLE DB source in SSIS. In OLE DB source I write query like,
SELECT DESCRIPTION
FROM INV.ITEMS_LOCATION
and packages failed with truncation error. When I redirect this column for truncation I see below result in data viewer,
ErrorCode
ErrorColumn
DESCRIPTION
ErrorCode - Description
-1071607693
8884
HC Afd Set__ZDV?N07-03075
The data was truncated.
-1071607693
8884
HC Afd Set__Ventiel 4DO1-?
The data was truncated.
-1071607693
8884
HC Afd Set__Ventiel 3DO3-?
The data was truncated.
-1071607693
8884
HC Afd Set__Ventiel 4DP01-?
The data was truncated.
-1071607693
8884
HC Afd Set__Ventiel DBDS-10-?
The data was truncated.
-1071607693
8884
HC Afd Set__Filter TXW?
The data was truncated.
-1071607693
8884
HC Afd Set__ZDV?N07-03075
The data was truncated.
-1071607693
8884
HC Afd Set__Ventiel 4DO1-?
The data was truncated.
-1071607693
8884
HC Afd Set__Ventiel 3DO3-?
The data was truncated.
-1071607693
8884
HC Afd Set__Ventiel 4DP01-?
The data was truncated.
-1071607693
8884
HC Afd Set__Ventiel DBDS-10-?
The data was truncated.
I don't how to put this value in table. I use code page 65001(UTF-8) and 1252, but it is not working, and giving error like
[OLE DB Source [16]] Error: Column "DESCRIPTION" cannot convert between unicode and non-unicode string data types.
Data Type of 'DESCRIPTION' source(External) column is varchar(240) and same- varchar(240) I used for output column and in my table's data type. I also tried with varchar(1000) for output column in OLE DB Source but same truncation error.
I also tried to convert DESCRIPTION into navachar using below cast function but got error.
SELECT -- TO_NVARCHAR(DESCRIPTION) AS DESCRIPTION,
--CAST(DESCRIPTION AS NVARCHAR(240)) DESCRIPTION,
Please let me know how to load this value in table. Thank you in advance.
VickyThanks ArthurZ for reply.
But for testing I am just using OLEDB source and OLE DB destination only in my ssis package.
For Column "DESCRIPTION", data type is VARCHAR(240)
in external column, output column and target table column.
And I tried to cast source column into nvarchar and also set target column to nvarchar to handle this kind of special characters but package is failing,
I also tried TO_NCHAR(DESCRIPTION)
in my source query to convert it to nvarchar but error is something like character mismatch.
Vicky -
How do you select special media tray from Adobe Photoshop CS3 on the Mac?
I can select the special media tray (HP Photosmart Pro 9180) from Word for Mac and Illustrator CS3 for the Mac, but I don't know how to select it from Photoshop CS3 for the Mac.
rebel1568,
All Photoshop versions through CS6 came with platform-specific licenses, either Windows or PC. You could get a cross-grade of platform swap at a nominal cost but not for older versions, only for whatever Photoshop versions was current at the time.
CS3 is totally out of the upgrade or cross-grade loop. You'd have to buy a new license for CS6 Mac or subscribe to Photoshop CC, as Trevor points out.
Curt Y is correct in that CS2 will not run on current Mac-Intel machines. You would need a used Mac G5 or G4 with a PowerPC (IBM) CPU, which have been obsolete since mid 2006.
Of course, you could run your Windows on your Mac if you installed and ran BootCamp or Parallells. -
hi all
i'm trying to select passport information which is in the special information form , but actually i can't reach it in the DB , so if anyone know in which table can i find these info i'd be soo pleased
"i'm using toad "
thanks in advanceTry it in passport_detail table.
What a silly question ?
How can we know that in which table your data is? If you can not reach DB then you may not have been given rights for that.
Contact your DBA.
Message was edited by:
aadi -
F-64 : cannot select special G/L indicator
Hi,
Why I use special G/L indicator T not allow in t-code f-64Hi
Use tcode F-29 and use spl gl indicator A or T to post customer down payment. alternatively use F-48 for vendor downpayment
Regards
Murad -
File Dialog can return incorrect path when selecting Windows special folders
I found an interesting bug when writing an application today. Basically the File Dialog express VI can return the wrong path if selecting special folders in some circumstances. This bug seems especially tough to track down, but I think I managed to figure it out. Steps to reproduce using LabVIEW 8.6.1 on Windows XP:
Use LabVIEW's File > Open... command to open any VI that is not located directly on your desktop. You MUST use the File > Open... command as this will set the working directory for the dialog box.
Close the VI (all we cared about was ensuring the working directory was set).
Create a new VI.
Place the File Dialog express VI onto the diagram (Programming > File I/O > Advanced File Functions > File Dialog).
Configure the express VI to select a folder and an existing item, leave the selection enabled to limit to a single item.
Create an indicator to show the returned path from the dialog.
Run the VI. Navigate to either your Desktop via the large button on the left, or the pull down menu up top.
Click the "Current Folder" button.
Observe how the VI returns whatever the original location of the dialog box was, not the desktop directory.
I have not confirmed this bug on other operating systems but following the steps above reproduces it on my system.This is a very unusual problem you are having. I tried it on another PC in the office and it did not show the problem you are experiencing. Are you able to replicate this every time, or only occasionally? Are you able to see this on other computers? Do you see this same problem using other software on the computer? Do you have the most recent updates from Microsoft? Perhaps the answer to these questions can help shed some light on the problem at hand.
David_L | Certified LabVIEW Architect
LabVIEW Tools Network | LabVIEW Tools Network Developer Center -
T-Code for report generating Open Special GL Items
Dear Experts,
i wish to know a procedure or T-Code which would list Special GL Items of Vendors, which yet to get clear with Vendor Invoices and are still lying as Open Items in the Special GL.
i have researched thru T-Code S_ALR_87012082 and it displays all Open as well Cleared Debit/Credit Items and did not find results what i want.
any way out, please help.Hi in FBL1N (Vendor line item display) select special GL Transaction in the option TYPE. Also you can see Noted items if you seletc the Noted items option.
-
Vendor in selection screen of MB5B
Business requirement is - In transaction MB5B (Stock on posting date), when users select Special stock option, Vendor should be available in selection screen. Purpose is to know Vendor consignment stocks on posting date. Does any one have any clue about how to achieve this or any other alternative suggestion to meet this business requirement ?
Hi,
We need stock balance by Vendor as on date and not material documents posted on a date. So, MB51 and MB59 does not help. Thanks for the response.
Edited by: Tushar123 on Feb 10, 2011 6:14 AM -
Error Enter a vendor special stock " O" sales delivery while doing pgi
hi
I am using job work scenario that time total stock provide by the customer. After completion the production process i am going for the delivery that time the massage come " Enter a vendor for special stock "O". But the total scrap is showing in the storage location but not picking in at the time delivery..
pl give me helpful answer ?
Thanks & Regards
Edited by: sachin hadke on Dec 26, 2008 12:57 PMDear Sachin
May be in partner determination, special stock partner would have been made as mandatory. Try in delivery screen itself, click from top menu bar click on "goto -- header -- partners". There select "Special Stock partner", maintain the vendor code and try to do PGI
thanks
G. Lakshmipathi -
Is Lot Status available to select as a field in Sales Order Reservation form field?
Material Status is available only
hi
Follow the below steps.
T-Code SE51(Screen Painter)
Give Program Name SAPMV45A (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
Screen Number 4440(before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
Select Attributes radio button.
Go to Element list Tab. Inturn select Special Attribute tab in Subscreen.
For Field Name "VBKD-PRSDT" make Input as "OUTPUT" (DISPLAY).
Hope this will help you -
When I select special characters under the edit menu, this is all that pops up. It would really help me out if I could insert symbols like I could before pages was updated.
http://support.apple.com/kb/PH13867
Scroll so you can see the search box at the top, click on the button to expand. Click the gear wheel, then customize, then check the box for Greek -
Special G/L transactions not defined for bills/exch.and down pmnts ERROR
Dear Experts,
I am trying to park document via F-63 - Invoice Parking - General to park down payments made to vendor using following details in initial screen for F-63:
Posting Key_____29
Account number _1000
SGL Ind ________A
after pressing enter key the system prompt error message that is:
Special G/L transactions not defined for bills/exch.and down pmnts
Message no. FP030
Diagnosis
You have selected a posting key with a special G/L indicator of type 'Bill of exchange', or 'Down payment'. Document parking is not defined for special G/L transactions of the type 'Bill of exchange' or 'Down payment'.
System Response
Document parking cannot be carried out.
Procedure
Select a different posting key or special G/L indicator. If the posting is a 'One-time posting' to a rent contract, select a different transaction type or post the document directly.
HOW CAN I PARK DOWN PAYMENT DOCUMENT FOR VENDOR. KINDLY PROVIDE SUITABLE SOLUTION.
REGARDSDear,
Your special G/L "A" is set as Down Payment/Down Payment request, this is what cause the error.
To meet your requirement just go to FBKP select special G/L "A" enter your chart of accounts and go into properties, change
Special G/L transaction types to Others from Payment/Down payment request.
Advances can be created as Special G/L transaction types Others
If parking is utmost required by you then according to me you should create two special G/L for Down Payment. New created should be used for parking and default by SAP you can use with functionality like F-47, F-48, F-54.
System is stopping you because down payment functionality is provided exhaustively in SAP so you should follow that.
Please analyze the process exhaustively and implement to smoothen your process.
Regards,
Chintan Joshi. -
Special stock indicator taking wrongly
Dear All,
I have a problem while creating production order for MTO scenario (strategy 20 ).
In the components overview of the production order, system is selecting Special stock indicator as 1 (Individual customer stock) instead of Plant stock.
So that I am not able to issue the components to that Production order from the Unrestricted use stock.
Please suggest me what configuration settings need to be checked.
Thanks & Regards
BalaHi,
Pls. make the following change in Material Master :
Go to MRP-4 View---> Individual /Coll. Indicator --->
Change it from 1 Individual Requirements to 2 Collective requirements.
This will resolve your problem.
Regards,
Tejas -
Can't use special character "option+5" on german keyboard
After upgrading to Lion I have problems to select special characters on a german keyboard. Typing in TextEdit "Option+5" does not display "[".
Nothing happens. I always have to use PopChar to insert the "[" character.
I already checked out all of the preference settings for the keyboard, layouts, international formats, ...
Also I deleted the keyboard .plist file in the Lib-folder.
All other special characters work fine without any problems, only the "option + 3, +4, +5, +6" does not show any character in the keyboard layout.
Thanks in advance for any help.
AlexThanks for your answer, but I already checked this. I completely disabled all speak recognition.
Not only one key doesn't work, but four in a line "option + 3, +4, +5, +6".
Maybe you are looking for
-
Which kind of DVD writeable discs for my P505D-S8935 Laptop? -R or +R?
Does it matter? I think the drive in my P505D-S8935 is a + and - R drive, so which type of media is best, if either? I have found the +R media slightly cheaper in cost than the -R. If both work, great.
-
Show the object and the line number, where the error happens in Forms
Hi! Al lot of our programmer use the ugly when others clause to raise messages like "error <sqlcode> happens in ....". Often this hides the really error in some underlying procedures. Is it possible to call the error stack from forms like in 10g data
-
how can i sync videos to my iphone 5 using Itunes 11. i also tried to convert the videos to mp4 and drag and drop the file in itunes but still i cant see videos in itunes library.
-
Hi i need help in sort in out issue on BOM
hi Sapgurus i nedd to configure the following scenerio i need a sales BOM that drives the demand- <b>the subitems should drive the demand</b>. can anybody plz gimme the step by step to configure the above scenerio. thanks in advance samsd
-
Is it possible to add second cooler to my QOSMIO
I WOULD LIKE TO ASK IF IT IS POSSIBLE TO ADD THIS SECOND COOLER TO MY LAPTOP *(TOSHIBA QOSMIO-X300 130) BECAUSE MY LAPTOP SHUTSDOWN WHEN I PLAY GAMES.. *PIC ABOUT WHAT I MEAN.. *http://www.irisvista.com/tech/laptops/Toshiba-Qosmio-X305/big/removing-l