Library quick letter count.

Hi all,
we have a library function in the intranet site. On the top of the page we have the letters A until Z.
We like to make the letters bold if there is a file under.
All the information is stored in 1 DB table.
I am thinking aboute a query something like this:
SELECT COUNT(pk) FROM lib WHERE desc LIKE 'A%' or desc like 'a%'
I have to do this by a until z and not willing to do a query fore every letter.
How do i make a query/system to do this in a singel run?
Thanks, Johan.

This is actually a question about SQL and your database, isn't it? Your database's version of SQL probably has a "substring" function and a "convert-to-upper-case" function. You could look it up or ask in an appropriate forum.

Similar Messages

  • Letter count when SMS-ing. Update or allready usable??? Please reply!

    I wondered if the Iphone could get a Letter-counter when SMS-ing? It would be really great if I could see how many letters when I am SMS-ing, because I don’t want to waste a SMS's airtime because I was out with one letter.
    If this isn't yet available on the phone can you please put it on the next update?
    Thanks allot for your hard work

    I don't think that is a definite way to determine if a text will be sent as one or two messages. A standard text message (well at least in the UK) is 160 characters including spaces.
    It you type a upper case W then it takes up much more space than a lowercase l.
    I just tried it and could only get 56 W's on four lines but I can get 240 l's on four lines.
    So just be careful if texting in your country is also restricted by the number of characters sent as you may well go onto two messages if you rely on the four lines suggestion.
    I would personally love to see a character counter and would suggest you send feedback to apple and hopefully this feature will appear in a future firmware update.

  • Letter count in multiple Id documents?

    Hello,
    I'm working on a book project. The single chapters are single files. Additionally I have one Id document where all documents are displayed/link for preview reasons.
    Now to my question: is there a possibility to do a letter count the gives me a total number? ... the sum from all linked indesign files?
    I look forward to your reply and send best regards,
    Christin

    Open all the files
    Find/Change
    Go to the grep tab
    Find
    \w
    Change to
    $0
    The find change result dialog box will display how many letters  were changed - but nothing is changed as you have opted to change to found text - which is the same.
    You just get a number that represents how many letters were changed, which is your letter count.

  • How do i transfer library (including play counts etc.) to my new computer?

    I want to keep all the info like play counts, what is "checked" and unchecked, and star ratings. This wouldn't happen if i just loaded the songs would it?
    My new computer doesn't have iTunes installed yet. I have all the related files from my old computer on an outboard hard drive. All the songs, all the podcsts, and the library file. Pretty much all the data from my section of a shared computer. I also have my iPod which contains most of my library.
    How do i go about this? All the music-inclined people said i need other software, but i just want to move my library to my new computer, surely this is a pretty standard thing that iTunes should be able to do by itself?
    The new computer is on Vista, i think the old one was windows XP. I got all the data from the old computer about 3 months ago so it's probably from whatever version of iTunes was out then.
    Also are there any hurdles to registering my computer to my iTunes account and anything i should do before syncing my iPod to it? (I don't intend to use the old computer again).

    See if this helps: Copying personal photos and videos from iPhone, iPad, or iPod touch to your computer.
    There are several different apps that enable you to easily transfer data such as PhoneDisk, Pod To Mac - VersionTracker or MacUpdate.

  • How to transfer library with play count and top 25 playlist to another itunes library?

    Hi,
    I would like to transfer all my music, with the play count and top 25 most played and other playlists to another iTunes library on a Mac. How would I go about doing this?

    What exactly are you trying to do?  You already have another library on the computer and wish to add items from another library?  This is not easily done and meeting all the requirements you have posted.  While it is possible to transfer play count I think it is one of the things that requires Applescripting knowledge.
    If you are just wanting to move a library from one place to another that is possible, though still tricky because you start encountering user permissions.

  • Itunes library wont let me sync

    I plugged my ipod into my laptop it said i needed to restore my ipod, i clicked okay and when it was done all my music and apps were gone off my ipod and only the music was still in my itunes library. I then tried to sync the music back but it wont let me, it syncs but doesn't move the music back onto my ipod. Please help because I can't live without my music.

    Do you have the right  setting in iTunes to sync the media you want to sync? Check them.
    iTunes for Windows: Device Sync Tests
    Does any media sync to the iPod now?
    Did you restore via this iTunes library/computer.
    Try restoring via this iTunes library/computer again.

  • Library total song count different than available "Entire music library" number for mobile devices?

    If I go to my iTune library and display the song count I see I have 3094 separate songs. However when I connect my iPhone or iPad and I choose "Sync Music" with the option "Entire music library" it shows 2963 songs. I have 10GB+ of available space on both devices, so it's not a space issue. Concerned I had songs in my library that were not mapped to actual files on my drive I audited them. I highlighted all the songs, chose "Get Info" then changed the BPM to 999, once they processed I sorted by BPM and they all read 999, there were no gaps that would indicate a broken file association.
    I can't seem to find any other possible explanation. If any one has any ideas, and an option to resolve the problem I'm definitely open to suggestion, thanks!
    OS X: 10.9.5
    iOS: 8.0.2
    iTunes: 11.4

    Possibilities are that unchecked songs are not being synced to the device, or that your library contains what I refer to as "logical" duplicates, two or more entries in the database that point to the same physical file on disc. If you have logical duplicates only one copy of the track is left on the device after syncing, but you may see the same set of tracks being added each time you sync even though nothing has been changed in your library.
    tt2

  • String Letter Count

    I must create a program that reads in a string from the user then prints out the occurance of each letter of the alphabet using the charAt() method. Can I get a little help starting?

    import java.util.Scanner;
    import static java.lang.System.out;
    public class Project5B_2{
    public static void main(String[] args){
         //Create Scanner
    Scanner scan = new Scanner(System.in);
    int another=1;
    while (another == 1) {
         //Set Variables
    String str;
    int countA=0;
    int countE=0;
    int countI=0;
    int countO=0;
    int countU=0;
    int countY=0;
    int countSpace=0;
    int countOther=0;
    out.print("Enter a string: ");
    str=scan.next();     
    str=str.toUpperCase();
    for(int i = 0; i < str.length(); i++) {
    if(str.charAt(i) == 'A') {
    countA++;
    else if(str.charAt(i) == 'E') {
    countE++;
    else if(str.charAt(i) == 'I') {
    countI++;
    else if(str.charAt(i) == 'O') {
    countO++;
    else if(str.charAt(i) == 'U') {
    countU++;
    else if(str.charAt(i) == 'Y') {
    countY++;
    else if(str.charAt(i) == ' ') {
    countSpace++;
    else {
    countOther++;
    out.println("No. of \'A\' or \'a\' = " + countA);
    out.println("No. of \'E\' or \'e\' = " + countE);
    out.println("No. of \'I\' or \'i\' = " + countI);
    out.println("No. of \'O\' or \'o\' = " + countO);
    out.println("No. of \'U\' or \'u\' = " + countU);
    out.println("No. of \'Y\' or \'y\' = " + countY);
    out.println("No. of spaces = " + countSpace);
    out.println("No. of other characters = " + countOther);
    out.println();
    out.print("Do you want to continue? (1=yes, 0=no) ");
    another = scan.nextInt();
    ----jGRASP exec: java Project5B_2
    Enter a string: Hello, this is a test!
    No. of 'A' or 'a' = 0
    No. of 'E' or 'e' = 1
    No. of 'I' or 'i' = 0
    No. of 'O' or 'o' = 1
    No. of 'U' or 'u' = 0
    No. of 'Y' or 'y' = 0
    No. of spaces = 0
    No. of other characters = 4
    Do you want to continue? (1=yes, 0=no) Exception in thread "main" java.util.InputMismatchException
         at java.util.Scanner.throwFor(Scanner.java:840)
         at java.util.Scanner.next(Scanner.java:1461)
         at java.util.Scanner.nextInt(Scanner.java:2091)
         at java.util.Scanner.nextInt(Scanner.java:2050)
         at Project5B_2.main(Project5B_2.java:66)
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.

  • Library Quick Develop Options

    Is there any particular reason why in the Quick Develop section you can adjust pretty much every common parameter except saturation (of course the one I wanted to adjust!)? Any workarounds for mass relative adjustments? I want to desaturate when I export for the web. I figured I could select all, do a mass relative desaturation of around 20 count, export, then undo.
    I guess I should do a feature request.
    Thanks!

    Huh... I don't think there's a way to edit the answer points, but I'll ask a question someday and if Jeff answers at all, I'll give him the ten points!
    I certainly appreciate when folks take the time to mark questions as answered and 'reward' those who try. I think I'm just 135,480 points away from a new Mercedes from Adobe.........
    Cool thing is we all learned something.

  • Library - All Photographs - Count

    Under Library all photographs to the left is a count. In one library it shows 3629/3630. I would guess that I have a cataloged file that is missing. Is this correct? If so, how would I find which file is disconnected?
    Thanks

    Even if you don't remember doing a stack, if you had two images selected and by chance did Cmd/Ctl-G ( for group) Stack they would get stacked, if in the same folder.
    Don Ricklin, MacBook 1.83Ghz Duo Core, Pentax *ist D
    http://donricklin.blogspot.com/

  • Importing music library removes "play count" and "last played" information

    I recently updated my music drive and had to edit the iTunes Music Library XML file to reflect this. However, I've tried several times to import the edited file and each time iTunes throws out the "play count" and "last played" fields for each track. Not only that, it rewrites the entire XML file without them.
    How can I retain this data?

    Updating all the songs is impossible,
    But you want to update the same songs over and over?
    i have more than 30gb on my pc, and also i dont like carrying some unnessesary song with me all the time.
    So don't put all the songs on your iPod.
    Just put the ones you want. You can select to auto update only selected playlists.
    Taggs on my computer and ipod are different because it's more useful this way..
    That way if you have to reload the songs, you have to "update" everything again.
    I don't understand how it's "more useful". It's certainly not more convenient.
    Since you are already in iTunes, why not make it simple and update everything only one time?
    I mean, you can do it any way you want but is is so much easier to do it only one time.
    The iPod/iTunes were designed for simple and ease of use. You shouldn't have constantly put a bunch of work into just maintaining everything.

  • Options for iTunes library - quickly growing with mp4 videos

    Hello all,
    Here is my dilemma. I have a large library of MP4 videos (movies) in my iTunes library, which is growing daily. These are not iTunes purchases. I plan to unload these files to an external HDD. Home Sharing is the main reason why I use iTunes for my Movie library to begin with.
    Here is my dilemma. I cannot, to my knowledge, run a partially referenced iTunes library- where Music is automatically copied to the iTunes Media folder, but Videos are not (but rather referenced on the external hard drive).
    1) Is there any way around this besides unchecking "automatically copy to iTunes folder" everytime I add a Video to my iTunes Library
    2) Would I be better off creating two seperate iTunes libraries? One for the referenced video files on the EHD and one for my music, which I want to remain on my internal drive.
    3) Any other plausible solutions?
    I hope I'm being clear. Just looking for the best plan of action. Thanks in advance
    MBP Late 2013''
    10.9.2

    1) Is there any way around this besides unchecking "automatically copy to iTunes folder" everytime I add a Video to my iTunes Library
    No, not automatically, not with how iTunes presently works.
    2) Would I be better off creating two seperate iTunes libraries? One for the referenced video files on the EHD and one for my music, which I want to remain on my internal drive.
    No.  I used to think it would but at least with my old iTunes version any libraries made in my user account share the same single user preferences. Unless you disable the "automatically copy to" feature I am pretty sure either library will put the items in the same media folder because they both use the one set of preferences settings.  You can check this by making a second test library but don't add anything to it.  Then check advanced preferences from yur main library and this test library and see if they point to the same media folder.
    3) Any other plausible solutions?
    Do it the way Michael Allbritton outlines, or leave it set to organize automatically but put the movies on the external drive, then add them back while holding down the option key.  This overrides the copy-to function.
    Note, splitting media storage this way will work but has disadvantages.  If links break for any reason, iTunes will not automatically search for ones that are not part of its media folder organization.  If you need to move files to a different drive in the future it will be somewhat tricky as you are likely to end up with a lot of broken links.  There may be ways to avoid this but it won't be automatic.

  • External Jars into ADF Project Library - quick question

    Hi All
    We have about 130 jars that we need to include into our ADF application in JDev.
    We also have multiple applications wanting to use these jars as a iibrary.
    Is there a way to put all these jars in a library so that any project from any ADF application could import/include this library of jars ?
    What are the exact steps ?
    At this time, it's very manual work to repeat for each application and we have too many applications to want to redo these steps.
    Thanks
    Edited by: 898644 on Oct 8, 2012 8:31 PM

    Had a look into the docs?
    33 Reusing Application Components should help you
    and if you are in jdev, use 'tools->manage libraries' and click the help button Then on the link 'about libraries'...
    Timo

  • Library filter: photo count missing on OS X Mavericks

    When using the library filter on metadata no numbers are shown anymore, even not after clicking restore default presets?
    How to resolve this?
    Thanks in advance
    Bob

    It's a known Mavericks bug which is fixed in the 5.3 RC from http://labs.adobe.com
    http://feedback.photoshop.com/photoshop_family/topics/lr_5_2_os_x_mavericks_missing_photo_ count_in_library_module

  • Need library that lets me kill Windows programs and then reopen them.

    I have issues with a certain program crashing in remote locations..cough* VzAcess. I want to create a program that tries to ping a website and if that fails then it will kill the program and then re open the program. Everywhere I look line these three libraries come up:
    import org.javagroup.process.ProcessManager;
    import org.javagroup.process.ProcessManagerHolder;
    import org.javagroup.process.JProcess;
    I cannot find anywhere where to get these. Maybe my google skills have diminished. I don't know. If anybody knows of any good and reliable libraries that let me do these things that would be great. Thanks!

    dothedru22 wrote:
    ... Everywhere I look line these three libraries come up:
    import org.javagroup.process.ProcessManager;
    import org.javagroup.process.ProcessManagerHolder;
    import org.javagroup.process.JProcess;
    I cannot find anywhere where to get these. Not sure they do what you expect.
    jsh seems to be an abandoned project; no activity since 2001/2002.

Maybe you are looking for

  • Robo Help Server 8 Publishing files to wrong location

    Hi I have recently installed a trail verstion of Robo Help 8 server.  All appears to be ok with the install I can access the website and log into the admin portal etc...  The only diffrence from the default install is that I have configured tomcat to

  • My Wife's iPod is not recognized by itunes

    My wife has a 30GB ipod and all of a sudden when she connects it to her Dell Laptop it is only recognized as a Store Drive but the itunes never recognized it, she is unable to see her ipod on the itunes. I have restored it by pressing the center butt

  • Hard drive in hp dv7 4002tx

    Just enquiring if there is a hard drive size limitation on the HP dv7 4002tx Have a samsunf spinpoint 2.5" 1.5tb drive i was thinking of putting into it but am wondering if it will accept it. The primary drive failed and i have replaced that with the

  • ST02 Export/Import

    Hi The system was in  ZERO ADMINISTRATION in st02 later for the performance issue we increased the buffer parameters like rsdb/ntab/entrycount 40000 KB                            rsdb/ntab/ftabsize   60000 KB                             rsdb/ntab/irb

  • Aperture 3 - "insufficient disk space" on import

    I've just downloaded the Aperture 3 trial version and have immediately hit a problem. I'm running on a Mac Pro with 40GB free on the boot disk (where Aperture and it's library is installed) and I have a folder with 65GB of photos on another internal