Order BY String, not ordering correct alphabetical
Hey,
I have the following query.
SELECT TBLREQUESTTYPES.ID, TYPE_NAME, SCHEDULED, CASE WHEN SCHEDULED = 1 THEN 'No' ELSE 'Yes' END AS SCHEDULEDTEXT, DAYS, CASE WHEN SCHEDULED = 1 THEN DAYS ELSE NULL END AS NUMDAYS, CASE WHEN SCHEDULED = 1 THEN 'Unscheduled' ELSE TBLFREQUENCIES.NAME END AS FREQUENCY, TBLFREQUENCIES.NAME FROM TBLREQUESTTYPES LEFT JOIN TBLFREQUENCIES ON TBLREQUESTTYPES.FREQUENCYID = TBLFREQUENCIES.ID WHERE TBLREQUESTTYPES.STATUS_ID = 1
ORDER BY TYPE_NAME DESC
But the list is for example is if there is 20 records
first 10 are correct a-z but then next 10 are a-z again instead of all 20 being listed correctly a-z.
If i do for example order by id it works fine.
121 wekk 2 week 0 (null) Weekly
21 vcfgd 0 (null) Daily
201 test jf 0 (null) Monthly
105 test aa 0 (null) Monthly
301 test 0 (null) Weekly
321 spurs 0 (null) Daily
221 jf test 0 (null) Weekly
55 fddfffddf2 0 (null) Weekly
54 fddfffddf 0 (null) Weekly
43 fddf 0 (null) Daily
53 ewweewew 0 (null) Monthly
57 ewewwe2 0 (null) Weekly
52 ewewwe 0 (null) Weekly
81 carlos 0 (null) Daily
122 asdasd 0 (null) Weekly
123 aasdas 0 (null) Weekly
182 Year test 1 0 (null) Yearly
102 Weekly Job 0 (null) Weekly
42 Steven Test2 0 (null) Daily
41 Steven Test 0 (null) Daily
341 Steven Non-Scheduled 1 20 Unscheduled
161 Steven Daily 0 (null) Daily
125 PRZEMEK_TEST 0 (null) Weekly
241 PRZEMEKTEST 0 (null) Weekly
104 Mont Job 2 0 (null) Yearly
103 Mont Job 1 0 (null) Monthly
222 John test 0 (null) Weekly
261 John Farrell 0 (null) Daily
322 JFtets 0 (null) Daily
323 JF testing JF 0 (null) Daily
281 JF NEW TEST JOB 0 (null) Daily
124 For P 0 (null) Weekly
184 Every friday 0 (null) Weekly
181 Daily job 0 (null) Daily
141 Check Fire Alarms 0 (null) Weekly
183 10 daily job 0 (null) Daily
Similar Messages
-
Number to fractional string not working correctly
I am measuring some parameters from oscillsocpe. i need to write these values to text file for which i am using write to spreadsheet, but what is happening is it is always writing zero value to file, on debugging i found that while converting from number to string it is always writng zero to string indicator, then separately i used that number to fractional string indicator and it is always showing zero in string output , i dont why it is happening.
Attached below is the code.
Solved!
Go to Solution.
Attachments:
Time meas sub.vi 31 KBRanjeet Singh and Norbert_B
Thanks for ther reply
Ranjeet singh,
number to fractional string is working correctly, there is some other problem, because inly when i am executing this code converting this rise time value to string then only it is showing zero, otherwise for any random number if i am checking this number to fractional string is working correctly.
Norbert_B
i dont need to convert it back to string that i am doing only to check why it is showing zero value on converting number to string , because when i was writing to spreadsheet file it was always writing zero value, so when checked that code it was observed that while converting from array of numbers to spreadsheet string it is always writing zero value that's why i am doing it here just to check why it is not converting to string, but your suggestion helped in focussing the string that i am gettong from VISA read, i can use that in last case if i wont be able to find the solution but main problem is that why i am not able to convert it back to string, why it is showing zero because it is because of this only write to spreadsheet is always showing zero value . -
Encoded characters in URL request string not decoded correctly
When I make a GET request with the British Pound Symbol in one of the paramters, that parameter is either not there if the pound (%A3) sign is first, or truncated in my servlet. For Example:
ValidateAmount.jsp?quantity=2&chargeAmount=%A312.2&chargeUnitType=R
chargeAmount=null in above example
ValidateAmount.jsp?quantity=2&chargeAmount=123-%A312.2&chargeUnitType=R
chargeAmount=123- in the above example.
When I look at the query string in the servlet, everything looks as it should, but I can't get the request parameters correctly.
I have tried setting the Character Encoding to "UTF-8" in several places to no avail. I am using Weblogic 7.0 SP2 on a Windows 2000 machine. I am using Internet Explorer 6. How do I fix this?
I cannot reproduce this using a test form I created: https://files.acrobat.com/a/preview/e6b390e1-625c-4f59-86c5-c2ca07998279
Does the same thing happen with the form above? If not, can you share your form with us: http://forums.adobe.com/thread/1408375 -
POJO Longer strings not displayed correctly, only displayce boxes.
I'm using JRC version:
Crystal Report Viewer 11.8.4.1197
java.vendor = Sun Microsystems Inc.
java.version = 1.5.0_16
os.name = Windows XP
os.version = 5.1
os.arch = x86
I'm using "import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;" to open a report.
I searched in net and tried the following soln; but still Im not getting all the characters. Please help me to solve this.
POJOResultSetHelper pojoHelper = new POJOResultSetHelper(
P4UReportInformation.class);
pojoHelper.setMemberColumnDisplaySize("getCustomerWelcomeDetail",
1024);
pojoHelper.setMemberColumnDisplaySize(
"getCustomerDisclaimerDetail", 1024);
java.sql.ResultSet rs = pojoHelper
.createResultSet(consolidationSheetRequest
.getSelectedReportInformation());
report.getDatabaseController().setDataSource(rs, tableAlias,
tableAlias);
// // Set run time data source to the report
// report.getDatabaseController().setDataSource(
// consolidationSheetRequest.getSelectedReportInformation(),
// P4UReportInformation.class, tableAlias, tableAlias);POJOResultSetHelper pojoHelper = new POJOResultSetHelper(
P4UReportInformation.class);
pojoHelper.setMemberColumnDisplaySize("CustomerWelcomeDetail",
1024);
pojoHelper.setMemberColumnDisplaySize(
"CustomerDisclaimerDetail", 1024);
Removed "get" from setMemberColumnDisplaySize("CustomerWelcomeDetail"..
This solved my issue. -
Currently running Version 32.0. Since this was installed, my Contact List is not displayed in alphabetical sequence. Instead the contact seem to be displayed by Activity date and/or time, then by name sequence. Example, I had a 25 contact list in jumbled sequence, when I changed a piece of dat and found the changed contact was now at the top of the list! I changed a contact which should appear above this on and it also went to the top of the list. In this manner, I got the entire list in order. I then saw an error on one and corrected that contact data. That then went to the top of the list!
If I can provide any other information, please let me know.May I suggest reverting to a previous version and adopting a more conservative upgrades approach?
In Windows Thunderbird updates are automatic by default. To avoid similar situations in the future, you could change that and decide to have a more conservative approach to upgrades.
Before trying anything, [https://support.mozilla.org/en-US/kb/profiles-tb#w_backing-up-a-profile make a backup of your current Thunderbird profile].
You can uninstall the current Thunderbird version via '''Control Panel > Programs and Features''' and reinstall a previous version, download it from here:
* [http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/31.0/ Version 31.0]
* [http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/24.8.0/ Version 24.8]
Click on the type for your OS. eg: If using Windows select 'win32' then select the language eg: en-GB = English british then download the .exe file
You can [https://support.mozilla.org/en-US/kb/configuration-options-updates?esab=a&s=automatic+updates&r=1&as=s customize automatic updates behavior], however, it's under '''Tools > Options > Advanced > Update'''.
My suggestion would be to set it to '''Check for updates, but let me choose whether to install them.''', specially if you depend on email for critical / important business or personal matters. -
PO screen custom fields are not in correct order
Hi Experts,
After creating Shopping cart and purchase order successfully created.
Added my custom fields for PO structure INCL_EEW_PD_ITEM_CSD_PO fields are visible in PO screen automatically with out adding my custom fields in PO layout /SAPSRM/WDC_DODC_PO_I_BD
when i go to PO screen i can see my custom fields but all fields are not in correct order.How can my fields should be in order.
and i added two custom buttons in my PO layout for WD component /SAPSRM/WDC_DODC_PO_I_BD i am not able to see my buttons?
Could you please help me out in this issues its urgent.
Thanks,
Venkatesh GI've had this problem. There may be a more elegant solution, but what I do is make a playlist of the album and put the movements in the correct order in the playlist. I've also put numbers (01, 02, etc.) in front of the name of the movements. Either one works.
Hope this helps.
Ben -
Profit center not picking correctly in PO from sales order
Hi Experts,
Profit center is not picking correctly.. in PO
In material master Profit center is configured as XXXX
We have raised a sales order for the same material with two line items (e.g) 1500 kgs & 1600 kgs and profit center has been changed in the sales order to YYYY
There is one purchase requistion for the same material with two line items
But we have raised two purchase order for each line item in which the same sales order is linked to these two purchase order.
In the first PO , for the first line item in sales order ie., 1500 kgs profit center is picked from the sales order ie, XXXX which is correct but in the second PO, for the second line item in sales order ie., 1600 kgs profit center is picking as YYYY ie which is configured in material master.
What could be reason ? Help in this regard will be highly appreciated.
Thanks in advance
NarayananHi Narayan
Check the Account assignment in the 2nd PO.. Does it have E as Acct Assgn Category?
It should have sales order as the account assignment... If yes, then it must pick up PC from the sales order...
Try to put a deletion flag to this PO and create a new one, if possible... You would come to know if some one has changed the PC
BR,Ajay M -
My Mac Mail subfolders on my MacBook Air will not sync in alphabetical order. I am assuming it is a setting that I am not finding since my iMac based at my home office is fine, so is my iPad and iPhone. The core source is Exchange.
If you have been using the mac.com Apple ID to make iTunes purchases recently, then there should be no issues continuing to use it with the new iPhone. I would abandon the new ID as you will never get Apple to merge the two IDs. I have had a mac.com ID for years and continue to use it with my iPhone 4S.
Tell us the issues that you encounter trying to set up the iPhone with the mac.com account. -
I transferred my iPhoto FACES to my mini iPad and: (a) they are not in the alphabetical order I had them in, (b) some of the FACES have been deleted, (c) the EVENTS I checked off in iTunes do not all appear in the iPad?
Go to your Pictures Folder and find the iPhoto Library there.
Right (or Control-) Click on the icon and select 'Show Package Contents'. A Finder window will open with the Library exposed.
Look there for the iPod Photo Cache. Trash it. Start iPhoto and try sync again.
Regards
TD -
iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 5). I have uninstalled in correct order and reinstalled but still getting same error message. Any help??
Take a look at iTunes for Windows: "Error 7" message when opening iTunes. Perhaps your .NET Framework needs a repair.
For general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
tt2 -
Items not appearing in alphabetical order
Hi folks,
When a user here clicks on File - Open, her items do not appear in alphabetical order. She has to right click - Arrange By - Name.
However its in alphabetical order on mine.
Any idea how I can set hers to alphabetical order all the time?
Many thanks,
GIn the File open dialog box you can change the order the files are listed. I frequently use Date Modified so I can see the ones I most often use at the top. You change the order the files are listed the same way you do in Finder (on a Mac) and in Windows Explorer on a PC.
-
My mailbox list in the mailbox view pane does not appear in alphabetical order. (Mac Mail iCloud account). This is on my iMac running Lion 10.7.4. Interesting though, the mailboxes are alphabetically sorted in my laptop and iPhone which are both also synced to my apple account. I'm baffled???
Hi Graham,
Getting the alphabetical sort of your songs is easy. If you upgraded to the new iTunes all you would do is view your music and go to the List view. That option is on the right hand side underneath the search bar. Once you have change to that view, just click on the Name view to organize by name.
Using the new iTunes
https://support.apple.com/en-us/HT203128
Take it easy,
-Norm G. -
I want to make a CD that is NOT in alphabetical order, not in artist alphabetical order and not in album alphabetical order... I want to make it the order I want. Can this be done? How? thanks in advance for all your help. Mona
cjam732 wrote:
Ed - by sequence of numbers, are you talking about the rectangle with the arrow that sorts by track number? I've tried to follow your directions to Mona but my playlist still gets burned to CD in alpha order. driving me crazy. any other suggestions? thanks, Chris
Chris, The sequence number is the first column of numbers, to the left of the Name column. It always goes 1, 2,3 etc. It is not the same as the Track Number, which has its own column.
As a precaution before burning, make sure that Shuffle is tunred off, and that you right-click the playlist name and choose 'Copy to Play Order" (although technically they should not affect the burn). -
Attributes of an employee is not appearing in alphabetical Order
HI BI Expert,
For the BI 7.0 Template, when selecting attribute of an employee,
1. For Attributes of an employee is not appearing in alphabetical Order,where in 3.5 version they did. Is there anyway to change the order?
2. Increase the number of attribute on a page, as the page needs to
refresh each time you scroll down. Like a full list that does not scroll down
like in 3.5 version. Its very time consuming and not friendly. Is there a
way to not have the screen flicker but have the attributes scrolled or it display a full list that does not scroll down?
Thanks.
Best regards,
Pei FungMani,
Thanks for your reply.
I run the report from BEx Java Web but I couldn't find the option "Width of list" in the report. Could you advice?
Below forum is similar to my question but there is no answer for this forum.
How to re-arrange or hide display attributes?
Thanks.
Best regards,
Pei Fung -
(Condition rate not showing in sales order correctly.
Condition rate not showing correctly in Sales order. it has maintained perfect in condition record. Please provide me the programe which can retrive the correct rate in sales order.
Hi,
Including above suggestions, try if Pricing date is coming. If not, this may be one of the cause. Go to VOV8, select your doc type and in "Pricing date/purchase order date" section, check the "prop for valid-to" and "valid-from" settings. Buth should be blank.
Reward if sorts out your issue
Regards
SD
Maybe you are looking for
-
And my activation date of this month is oct.2. But...
I bought 400 minuits 3 months 2 month ago. And my activation date of this month is oct.2. But it doesn't work yet. It is oct.3. What can I do for it?
-
I have tried deleting on the laptop and the item reappears. When I initiate the delete on the iPhone, the event reappears after sync. I have tried clearing the cache and overwriting the phone with the laptop. Can someone help?
-
Is Forms 10g certified with Oracle Database 11g
Hi, Where can i find the Oracle's database 11g versions Forms 10g is certified with ?? Is there a certification matrix about this ?? :) Regards Carlos
-
The SQL Developer often hangs with the following exceptions: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 1 >= 0 at java.util.Vector.elementAt(Vector.java:432) at javax.swing.table.DefaultTableColumnModel.getColumn
-
Sales order doc types to Roles - IMP question
Dear Gurus : We have a requirement .We are revising users who has authority to do certain SD transactions like superviosr has access to all t codes related to sd. billing co ordinatior will have access to all billing docs and t codes. Requiremen