DB name shortening algorithm probably needs more sophistication

Hi,
I think it might be wise to come up with a more sophisticated way to
shorten the names when the class names and field names are too long. I
ran into the following situation with a class called
"AttributeCollection" with a HashSet field called "attributes". The
elements of attributes are instances of "Attribute" a simple persistent
class with a "name" and "value" string. Changing the field name to
"set" fixed it. The only reason that I found the problem relatively
easily is that I remembered observing the shortening algorithm (snip) in
another harmless case.
David Ezzio
Yankee Software
E:\MyCode>kodoschematool -action refresh
Refreshing schema for type "class
com.ysoft.jdo.attributes.AttributeCollection" and known subclasses...
CREATE TABLE ATTRIBUTECOLLECTION_ATTRIBUTEX (ATTRIBUTESX NUMBER, JDOIDX
NUMBER)
CREATE INDEX ATTRIBUTECOLLECTION_ATTRIBUTEX ON
ATTRIBUTECOLLECTION_ATTRIBUTEX (ATTRIBUTESX)
CREATE INDEX ATTRIBUTECOLLECTION_ATTRIBUTEX ON
ATTRIBUTECOLLECTION_ATTRIBUTEX (JDOIDX)
java.sql.SQLException: ORA-00955: name is already used by an existing
object
E:\MyCode>kodoschematool -action refresh
Refreshing schema for type "class
com.ysoft.jdo.attributes.AttributeCollection" and known subclasses...
CREATE TABLE ATTRIBUTECOLLECTION_SETX (SETX NUMBER, JDOIDX NUMBER)
CREATE INDEX ATTRIBUTECOLLECTION_SETXSETX ON ATTRIBUTECOLLECTION_SETX
(SETX)
CREATE INDEX ATTRIBUTECOLLECTION_SETXJDOIDX ON ATTRIBUTECOLLECTION_SETX
(JDOIDX)
CREATE TABLE ATTRIBUTECOLLECTIONX (JDOIDX NUMBER NOT NULL, JDOLOCKX
NUMBER, JDOCLASSX VARCHAR2(255), PRIMARY KEY (JDOIDX))
Refreshing schema for type "class com.ysoft.jdo.attributes.Attribute"
and known subclasses...
CREATE TABLE ATTRIBUTEX (JDOIDX NUMBER NOT NULL, JDOLOCKX NUMBER,
JDOCLASSX VARCHAR2(255), NAMEX VARCHAR2(255), VALUEX VARCHAR2(255),
PRIMARY KEY (JDOIDX))

Hi,
I had the same problem about a month ago. Patrick Linskey suggested in his post from 12.09.01 "Re: Schematool problem" to "use the 'table' class-level extension in
your system.jdo file". But this didn't seem to work, so I shortened the name of the class to fix it.
Here is Patricks original post:
Martin,
As Joe Mannerling pointed out earlier, the problem that you are seeing
is related to a bug in Kodo's table name generation algorithm. In
order to keep table and column names below database limits (Oracle,
for example, has a 30 character limit), Kodo truncates names to this
length. Unfortunately, it performs this truncation after assembling
the name, so if a class name is over a certain length, then name
conflicts such as those that you are seeing will arise.
We are working on a better name generation algorithm to resolve this
problem. In the mean time, use the 'table' class-level extension in
your system.jdo file:
<?xml version="1.0"?>
<jdo>
     <package name="de.mediateam.quizmaster.data">
          <... snip ...>
          <class name="Question">
               <field name="prerequisites">
                    <collection element-type="Question" />
               </field>
          </class>
          <class name="TextQuestion" persistence-capable-superclass="Question" />
<!-- change this section -->
          <class name="MultipleChoiceQuestion"
persistence-capable-superclass="Question" >
               <extension key="table" value="MCQuestionX"/>
</class>
<!-- end changes -->
          <class name="BooleanQuestion" persistence-capable-superclass="Question" />
          <... snip ...>
     </package>
</jdo>
Thanks, and good luck.
Cheers
Martin
On Thu, 18 Oct 2001 08:44:11 -0400, David Ezzio <[email protected]> wrote:
Hi,
I think it might be wise to come up with a more sophisticated way to
shorten the names when the class names and field names are too long. I
ran into the following situation with a class called
"AttributeCollection" with a HashSet field called "attributes". The
elements of attributes are instances of "Attribute" a simple persistent
class with a "name" and "value" string. Changing the field name to
"set" fixed it. The only reason that I found the problem relatively
easily is that I remembered observing the shortening algorithm (snip) in
another harmless case.
David Ezzio
Yankee Software
E:\MyCode>kodoschematool -action refresh
Refreshing schema for type "class
com.ysoft.jdo.attributes.AttributeCollection" and known subclasses...
CREATE TABLE ATTRIBUTECOLLECTION_ATTRIBUTEX (ATTRIBUTESX NUMBER, JDOIDX
NUMBER)
CREATE INDEX ATTRIBUTECOLLECTION_ATTRIBUTEX ON
ATTRIBUTECOLLECTION_ATTRIBUTEX (ATTRIBUTESX)
CREATE INDEX ATTRIBUTECOLLECTION_ATTRIBUTEX ON
ATTRIBUTECOLLECTION_ATTRIBUTEX (JDOIDX)
java.sql.SQLException: ORA-00955: name is already used by an existing
object
E:\MyCode>kodoschematool -action refresh
Refreshing schema for type "class
com.ysoft.jdo.attributes.AttributeCollection" and known subclasses...
CREATE TABLE ATTRIBUTECOLLECTION_SETX (SETX NUMBER, JDOIDX NUMBER)
CREATE INDEX ATTRIBUTECOLLECTION_SETXSETX ON ATTRIBUTECOLLECTION_SETX
(SETX)
CREATE INDEX ATTRIBUTECOLLECTION_SETXJDOIDX ON ATTRIBUTECOLLECTION_SETX
(JDOIDX)
CREATE TABLE ATTRIBUTECOLLECTIONX (JDOIDX NUMBER NOT NULL, JDOLOCKX
NUMBER, JDOCLASSX VARCHAR2(255), PRIMARY KEY (JDOIDX))
Refreshing schema for type "class com.ysoft.jdo.attributes.Attribute"
and known subclasses...
CREATE TABLE ATTRIBUTEX (JDOIDX NUMBER NOT NULL, JDOLOCKX NUMBER,
JDOCLASSX VARCHAR2(255), NAMEX VARCHAR2(255), VALUEX VARCHAR2(255),
PRIMARY KEY (JDOIDX))

Similar Messages

  • Need more storage?

    I bought an ipod touch gb, without knowing i would probably need more storage is there anything i can do to add more storage. Leave a detailed answer please!

    unfortunately, nothing elegant. you can use a web based solution such as dropbox or box, or you can use iTunes in the Cloud to help extend your device. Another option is the Wi-Drive.

  • Iphone 5 backup and sync with iTunes ..says i need more memory

      I just bought more icloud memory for my iphone 5...because it said i needed 1.4 gb of space to backup... It would not let me sync my iphone on itunes.  I still can not back up..What should I do?  I guess no reason to buy that 10 GB from itunes.

    You probably need more free space on your phone, not in your iCloud account.  (Additional iCloud storage doesn't increase the space on your phone.) 
    Check Settings>General>Usage to see how much available space you have.  If you need more and your music is in your iTunes library, delete your music by going to Settings>General>Usage>Music, swipe across All Music, tap Delete.  Then back up and sync with iTunes, and sync back the music you still want on your phone.

  • Need More Info on Server 2012 R2 Essentials

    I'm currently running Server 2008 R2 Foundation for my wife's (1 person) online business, and have been looking at 2012 R2 Foundation vs Essentials.  The latter sounds like a better fit, since in my absence, my wife has limited IT knowledge/experience, but
    I need more information:
    1) Can Essentials be run in a WORKGROUP instead of a domain?  I currently have my server that way, and it serves our needs very well.
    2) I read in some of the forums that while essentials allows 25 users, only two can be logged in concurrently.  Is that true, or am I missing something?
    3) Server 2012 R2 Foundation DOES NOT require CALs for local LAN users, is this also true with 2012 R2 Essentials?  Also, how much are the CALS for RDP users?
    Capt. Dinosaur

    Hi again, Grey, and thank you for your response.  I do appreciate your detail, and I'll answer them each in turn.
    "1) http://technet.microsoft.com/en-us/library/dn281793.aspxMust be the domain controller at the root of the forest and
    domain, and must hold all the FSMO roles."
    Well I guess if it must it must, although I don't understand why the (first) response above states emphatically that a workgroup can be used.  I prefer a workgroup because I understand it much better than a domain setup, and I don't understand Active
    Directory etc.  When I bought my server in 2011 I hired someone to set up the os for me.  I also purchased Mark Minasi's book on 2008 R2, but so much of it was over my head.  Fifty five years in the computer business, and today I feel as though
    I've never seen one before (hence the name Capt. Dinosaur).  I am, however, signed up for a course in Managing Windows Server 2012 which starts in January.  I hope that helps get through my aging grey matter.  All these initials and acronyms
    are total confusion to me, along with my case of chronic CRS (Can't Remember Squat).
    "2) If you say you have 3 different users logged into Foundation with RDP I
    am not going to argue.  I know the license only allows for 2
    administrative connections. http://technet.microsoft.com/en-us/library/cc770759.aspx 
    The default connection (RDP-Tcp) only allows a maximum of two simultaneous
    remote connections."
    I currently have two licenses for 2008 R2 Foundation, and Ithe users who log in to those remotely are
    NOT administrator accounts.   I don't know if that makes a difference, but I've had both users logged in from Florida and I was logged in (as an administrator) from a local workstation.  I had to test that early on to make sure
    that my two users could log in concurrently, and that I could be logged in to manage the system.
    "As a rule we do not suggest you use your server as a workstation. ..."
    Maybe I misled you with something I said, but I/we do not use the server as a workstation.  Sometimes, though infrequently, I have to log in to the server directly (as Administrator) to do or fix something, but do not stay on it for
    normal work.  When we're home my (Dell Precision Mobile) Workstation is connected to my LAN.  I also do software development on that workstation.  I have a development environment on an external eSATA drive attached to my workstation,
    and both a beta and a live environment on the server; I use my workstation to operate all three.
    "... And I really have no clue what would happen if you
    restored your dell box to something else.  It may fail activation. 
    Guess you need to try that sometime. ..."
    I have tried it, albeit to another - but completely different Dell box, which is normally the only brand I use;  that's a holdover from my mainframe/minicomputer days when having a mixed shop was seriously avoided - with a clean bare HDD, and it
    worked.  When the restoration was executed, True Image asked only that you provide the drivers for the new computer, and they do the rest.
    " ... The advantage to the Essentials client backup is it will backup a whole lot of PC's to the server and use data dedupe to keep the backup database small.  So it would backup your wife's PC at
    work and the 3 you have on the road."
    I should explain that my wife's office is in our basement at home, in a separate room from my computer room.  My wife has a second business making gourmet wine infused jams, and we built a FDA certified canning kitchen
    in the basement, and her workstation is there so that she can work at both businesses.  Her workstation, my server and my workstation are backed up weekly to hard drives in a docking station, and stored in a fire resistant safe.  The
    computers we have on the road are my mobile workstation and her laptop.  When my daughter comes along, she also brings her laptop.  Since no company information is stored on any of the workstations, only the server data are mission critical. 
    "But in any case if what
    you have is doing what you want.  You don't seem to want what essentials
    offers, Active Directory, Remote Access, or Client backup, so why change?"<o:p></o:p>
    I guess I'm something like the man who bought a tuxedo and so now he has to start looking for formal dances to attend.  I should explain that we live in a very rural area - our town has a population of 1,000, 60% of the country is National
    Forest, and my home is literally in in it, bordered by it on two sides - and have only a very small technical college here.  I need to learn all about the server OS and how to administer it so that I don't
    have to hire someone when something needs to be done, and 2012 R2 is the only course available within 100 miles - up until this year they were only offering 2003, and even that was at a different campus 60 miles away (and over a 2,000' mountain). 
    Since the course I'll be taking is for '12,  I'm simply looking to upgrade so that what I have is what the course covers.  All my other computers are running Windows 7 (Pro and/or Ultimate) 
    "More on #1 Active Directory gives you group policy and more  control over file permissions than workgroup.  Say you had a folder shared and it had your bank.xls  You could give your wife permission to see it but not your daughter. 
    Group Policy is probably not a big deal for one client PC.  The advantage is you can make one setting and it can be applied to hundreds of PC's"
    Actually I have remote access now in '08 R2 Foundation, and I'm not sure what Active Directory will buy me, but that could, of course, change when I get into the course.  Not having Group Policies has been a small problem,
    on one or two rare occasions, so that could be a game changer for me, but with what I have now, I've been able to set up my political campaign system such that
    no one from one campaign can see or access any data for any other campaign.  Also I was able to set up the user accounts so that a remote user logging in
    can not see nor execute anything except the campaign system.  Any attempt to do otherwise automatically logs them out.
    In summation, you may just have convinced me that using a domain instead of a workgroup, with all it advantages might just be the way for me to go, since hopefully I'll learn all about that when I take that course.  The limitation of only two concurrent
    RDS users, however, is still worrying me, and I'm not sure that I'm accurately communicating.  If the
    two concurrent RDS user limitation ONLY refers to
    Administrator accounts then there's no problem, because any user accounts other than those for my wife and myself,
    would not be Administrator accounts.  I can't remember whether 2008 R2 foundation supports
    "Power User" accounts, but if so, that would be the highest level any other users would have, and possibly not even that high.
    Capt. Dinosaur

  • How large of a hard drive can I install on dual G5, and do I need more RAM?

    I recently had a situation in which my dual-processor 2.0 G5 was completely refurbished by Apple repair-new logic board, both processors, video card, thermistor, all new. Finally it has been working well after a month of trips back and forth from the Apple store. I have two internal hard drives installed on my G5, both 300GB, one for OS applications, and one for audio. I am running out of space on my main hard drive, and so I recently purchased a Maxtor 1TB hard drive, now manufactured by Seagate, from Fry's. After having my G5 refurbished, I was having an issue with my Samsung 930B monitor going into sleep mode when I boot-up from a CD, but other than that G5 was working fine. I removed the main 300GB hard drive from slot #1 and put it into slot #2, from which I had removed my audio hard drive. I installed the Maxtor drive in slot #1 and reformatted it for Mac using my laptop with ATA/USB cables previously purchased for data transfer. This took about 14 hours as I used the "zeros" option. After that I hooked up the internal cables to both drives and tried to boot up from Leopard in order to install it on the Maxtor drive, but again my monitor went into to sleep mode. We went to the Apple store to try to see if there was an issue with the computer, but everything worked fine with their monitors and CD's, as well as my CD. So there is some kind of issue with my monitor, probably software as it works fine when booting up from the main hard drive, and also was fine when I did its self-test function. While at the Apple store, they installed Leopard from their hard drive which took about 30 minutes.
    My problem is this: When I arrived home, I turned on my G5, which had been set to boot from my new Maxtor drive and complete the Leopard setup process, which we had decided to do at home as it would have taken another 20 minutes in the Apple store. The G5 turned on, chimed, I got the Apple screen with the wheel, but then after that my monitor goes into sleep mode. I can hear Leopard's setup intro playing through the speakers, but the screen is in sleep mode. So I reboot holding down the option key so I can boot up from my old (300GB) main hard drive, now in slot #2. This works and the monitor screen does not go to sleep. However, as I am browsing on the web to check for issues concerning this monitor, the G5 freezes, and I get a screen with black bars with writing in them and various technical language across the screen. This happened several times after rebooting. Finally I shut the computer down. I am going to try removing the new hard drive and putting both old ones back in and see if the G5 stops crashing. I think the monitor issue is a separate issue, and I am more concerned with the crashing, as previous to the new hard drive installation the G5 was working fine, monitor fine, other than the issue when booting up from a CD. Do I need more memory? Is the 1TB hard drive too large for my dual-processor 2.0 G5 and overloading it? Would I be better off with a 500GB drive? Would appreciate advice from persons with experience in this area. Thank you.

    I have replaced my 5 year old G5 with a Mac Pro, as the G5 just had too many issues, even after replacing all major components (logic board, both processors, video card, etc.) Once I took out the 1 TB hard drive from my old G5, it stopped having the kernel panic issue. Nonetheless I had been through a lengthy repair process previous to this issue, so I didn't care to trust an older machine any longer, especially since being told by an Apple tech that the "new" parts were really just older parts stockpiled from a central location. Could be new, could be refurbished. Apple was kind enough to credit the money we had spent on the G5 repairs towards the purchase of my Mac Pro.

  • I have an imac OS 10.4.11 and am using Safari 2.0.4. I would like to update this. I have 1 Gb memory. Do I need more memory to update my computer? I would also like to add an airport system and something where I could read word applications.

    I have an iMac OS 10.4.11 and am using Safari 2.0.4 I would like to update. I have only original 1 GB memory-do I need more to update?I would also like to add an airport or router and would like to add something where I could open word applications. Is it hopeless?

    Thanks. That's a Mid-2007 model with an Intel Core 2 Duo processor. You can run any version of Mac OS X on it up to and including Mac OS X Lion, though for Lion you'd need to increase the memory to at least 2GB, something I'd recommend doing anyway; it's inexpensive and often can increase performance. Your iMac can take up to 6GB if RAM; 4GB is probably a good compromise between cost and performance with a 4GB kit costing about $50.00 US from a reliable vendor such as Crucial.
    Your system already should have included the Airport wireless networking capability, so all you'd need would be a wireless (WiFi) access point (aka "router" or "base station") and an appropriate Internet connection. Apple's Airport Express and Airport Extreme, and the Time Capsule if you'd like to have a built-in hard drive for backups and extra storage, are good choices for a WiFi access point, but there are a number of other manufacturers.
    As to upgrading the operating system, as I said, you can upgrade to Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, or Mac OSX  10.7 Lion (the most recent release).  Apple no longer lists Mac OS X 10.5 on their web site, but if you call the Apple Store you may still be able to purchase a copy. Mac OS X 10.6 Snow Leopard is easily available as is Lion though with Lion you'd need the $69.00 USB flash drive installer or you'd need to purchase and install Snow Leopard first (other than on the flash drive, Lion is only available from the Mac App Store which can only be accessed from Mac OS X 10.6.6. or later). Before you decide, I'd strongly suggest you find out what versions of Mac OS X your applications and perpherals will support, either as they or with a free or affordable update. I'd suspect most of your applications and peripheral drivers would need to be upgraded, at least to support Snow Leopard or Lion. If you consider Lion, make sure of your applications; Lion will no longer run PowerPC-only applications, so many older appliations will not run under Lion.
    Finally, as to Microsoft Word documents which is what I presume you mean, you can of course just purchase Microsoft Office. There are other ways to work with Word documents, though. If you just need to view Word documents, TextEdit in MOSX 10.6 and 10.7 (and perhaps 10.5; I can't remember) can open and view many Word Documents. For something a bit more capable, you can purchase Apple's Pages, part of the iWork suite and now available separately for Mac OS X 10.6 and 10.7, or try one of the open-source solutions such as LibreOffice.
    Regards.

  • Opinions - time for a new computer?  need more RAM, Time Machine back up full - get new computer?

    I am in a quandary.  My early 2008 iMac needs more Ram.  I could upgrade from 2gb to 4gb for around $60.  My 1T external hard drive for Time Machine is full and I do not relish the idea of it erasing old data if I continue to use it this way, but then I am shelling out more money for a new hard drive.  Can get new 3T hd for about $200.  Is it worth it to shore up my computer?  I have recently upgraded OS to ML and it is really starting to act sluggish.  I hate the idea of having to transfer everything over to a new Mac and therefore new OS.   I need a working computer every day for business for my husband, so it would be impossible to go without a computer while things are being transferred over - and how long would it take for me to do that.  Plus, will files and photos be transferred over exactly as I have organized them?  I have spent a lot of time organizing bookmark folders in Safari, mailboxes in Mail and albums and folders in iPhoto.  Don't want to start from scratch again.   Also don't like the idea that the new iMacs don't have a slot for dvds and cds, playing and burning.  I do a lot of this kind of thing.  So then I would need to buy a separate thing for doing this as well as the computer itself.  Have wondered how many things have changed from ML to Maverick.  Another big learning curve???
    Would really appreciate any thoughts and opinions.  I am a senior citizen and don't know how to sort through this.  One thing I think about is that I don't know how much longer I will be living and able to do computer work. I know everything is a risk, but would like some advice even if it is only an opinion.

    It's probably time for a new machine. You won't have to start from scratch. Migration Assistant will bring over all of your data and apps (some may need to be re-activated using product keys). Depending on how much you actually have, a few hours should be all it takes over Ethernet.
    Time Machine should continually erase the oldest backups when it needs space for new ones.
    You might want to do both. Upgrade the RAM in the old machine to the max it will take, and buy a new machine as well. If your husband really needs a machine available all the time for business, having a 'spare' is a good thing.
    Check out what's available in the refurb store. They are virtually indistinguishable from new retail stock and come with a full warranty. You can save hundreds.
    http://store.apple.com/us/browse/home/specialdeals/mac

  • Ere are the specs on the Mac I need more power on.  Mac Tower Processor  2 x 2.26 GHz Quad-Core Intel Xeon Memory  6 GB 1066 MHz DDR3 ECC Graphics  NVIDIA GeForce GT 120 512 MB Serial Number  H00354XF20G Software  OS X 10.8.5 (12F45)  Harddive 640 GB SATA

    ere are the specs on the Mac I need more power on.
    Mac Tower
    Processor  2 x 2.26 GHz Quad-Core Intel Xeon
    Memory  6 GB 1066 MHz DDR3 ECC
    Graphics  NVIDIA GeForce GT 120 512 MB
    Serial Number  H00354XF20G
    Software  OS X 10.8.5 (12F45)
    Harddive 640 GB
    SATA Disk
    (2) Harddrives 1 TB
    SATA Disk
    RAM 6 slots total  -- 6 are filled with 1GB
    (3) UAD Quad cards installed
    I use this computer stictly for audio recording. 
    Pro Tools 10.3.7
    Interface Apollo 16
    Pro Tools is curretnly not compatible with Maverick.   Also, I believe that Pro Tools 10 only allows 4GB ram to be utilized (not sure ) 
    I know Pro Tools 11 allows more, but not sure how much more.  Also not sure if the upgrade to Pro Tools 11 I will have to purchase all new plug ins or if my existing ones will continue to work in it.
    The platform changes from 32 bit to 64 with the upgrade to 11
    If it is as simple as adding more ram, what mode-part #l would you recomeend.  Can the processor be upgraded also ?
    The new tube like Macs are non compatible with UAD Cards.  Those cards a must my sessions

    You can use Activity Monitor to check if apps run as 32 or 64 bit - simply look at the "Kind" column (you may need to select it under View -> Columns) and see if the app in question is listed as "Intel" i.e. 32 bit or as "Intel (64 bit)".
    While in Activity Monitor you can also check if Pro Tools is close to the 3-4 GB limit of a 32 bit app - if you aren't you will probably not benefit from more RAM.
    Your MacPro (it appears to be a Early 2009 model) should have come with a small booklet showing how to install RAM and what kind of RAM that you need. Any RAM that fulfills the requirements should work but your safest choice is probably to buy from a retailer/online store that supports Macs as they will usually know what kind of RAM you need for your mac model.
    Upgrading the CPUs should be possible, but I haven't seen Apple document how to do this, so you will probably have to google around a bit to find instructions and CPU part numbers.
    Your choice of CPUs will also be limited by the motherboard and CPU socket so you may be limited to faster version of your current CPU chip and some slightly newer versions.
    Going from your current CPU to the fastest version included in the 2009 MacPros would be going from 2.26 GHz to 2.93 GHz. This would only give a modest 30% speed boost. Using newer and highly clocked CPUs might boost this somewhat more maybe to 50% ?

  • Need more speed

    Hello!
    My setup:
    - I'm using Aperture 2.1.4 on an iMac 3.06 GHz with 4GB 800 MHz DDR2 SDRAM, 1 TB harddrive and Mac OS X 10.5.8.
    - Right now I have 8 Projects with 3.250 photos. The Aperture-Library - 3.62GB - is on the internal harddrive.
    - The originals are all RAW-files (from my Canon EOS 450D) and are stored on an external FireWire 800 iomega 2 TB drive. The folder containing the 8 sub-folders (coresponding to the projects) is 67.4GB.
    - I have about 820GB free on the internal harddrive and 1.82TB free on the external harddrive.
    My problem: I need more speed while editing! Highlights recovering, levels adjusting, changing the saturation or contrast - only to name a few - are realy slow!
    I've renounced to generate any previews, but I'm not very sure I see any diference in speed. I even close ALL my other apps while editing in Aperture!
    What can I do to accelerate working with Aperture?
    Do you think holding only the current photos in the Aperture-Library (managed while editing and referenced after this) will bring an increase in speed?
    Thank you for any advice!
    Regards,
    Vlad

    It's hard to visualize without some sample data and the table definitions, but there's a chance this will work.  I'm assuming this isn't dynamic SQL, but multiple reports, each report with a version of this SQL?
    USE MyDB
    SELECT * FROM MyTable WHERE 1 = 1 AND Factor = '1' AND varVE = 'XYZ'
    AND varS + varL + CONVERT(VARCHAR(100), aDate) IN
    (SELECT varS + varL + CONVERT(VARCHAR(100), aDate, 121) AS SLA FROM MyTable WHERE varD = 'val1' AND varE = 'val2' AND varC > 'val3'
    UNION ALL SELECT varS + varL + CONVERT(VARCHAR(100), aDate, 121) AS SLA FROM MyTable WHERE varD = 'val4' AND varE = 'val5' AND varC < 'val6'
    UNION ALL SELECT varS + varL + CONVERT(VARCHAR(100), aDate, 121) AS SLA FROM MyTable WHERE varD = 'val7' AND varE = 'val8' AND varC = 'val9'
    UNION ALL SELECT varS + varL + CONVERT(VARCHAR(100), aDate, 121) AS SLA FROM MyTable WHERE varD = 'val10' AND varE = 'val11' AND varC LIKE '%val12%')
    This should be somewhat faster, unless it's the last "LIKE '%VAL12%'" that's really the root cause of all the performance problems. 
    Provide some sample data and a little additional info, perhaps we can help more?
    EDIT: Also, although I use it myself during the authoring/development phase of a query from time to time (where I have to make lots of changes to the WHERE clause on the fly), the "Where 1 = 1" should go away for real life production use.  (Even
    though interestingly enough, the optimizer rarely seems to complain too much about it from a performance perspective, it's the SQL equivalent of forgetting to take the price tag off of a gift.. ;-)

  • Since installing mavericks my WD time machine doesn't work, it keeps insisting it needs more space? This wasn't an issue an hour earlier?

    Since installing mavericks my WD time machine doesn't work, it keeps insisting it needs more space? This wasn't an issue an hour earlier?
    Id also like to know if Powerpc software will be supported? I have C&C Generals on disc but it doesnt run now mavericks is installed?!
    Annoying!

    Regarding time machine, it probably took a full backup after you put mavericks on. To investigate, open Console, select "All Messages" and type "backup" (without the quotes). It will then only show you backup-related messages. If you're not sure how to read those, copy them and paste them into a reply here; we can investigate the situation.
    I don't know anything about your PPC software issue, sorry.

  • What's status of my order?  We need more time to process your order.

    I cannot find on the Adobe site where to find the status of an order.
    Last Saturday I placed an online order for an annual subscription to the CC Photography package.  After I had completed all the steps a message was displayed on my browser that read something like "We need more time to process your order."  There was also a statement that said something to the effect that I would be contacted by email the next business day, but I have seen nothing.
    I'm certain this is not the place for questions about order status, but when I followed the steps in Contact Us, this is where I wound up.  I prefer to use email or the internal messaging system rather than phone, so I can have a record of what was said.
    Thanks - Dave

    This has been a colossal hassle.  Notice there's no reply to my question here about how to contact whoever the rep res referring me to.
    When you go through the order process it doesn't ask how your name appears on the credit card.  I'm "Dave" here, but on my credit card I'm David.  Maybe that's why it didn't go through.  Maybe it isn't wise to order on the weekends (I placed my order on a Saturday).
    In two chat sessions the rep said he (or she) would escalate the case and I'd hear in 24-48 hours.    Never heard a thing.
    I finally went through the order process on a Friday, edited my profile with my real name and it went right through.  I chose to download Photoshop CC 2014.  I got a Web page with the header Downloading now... or something like that.  But there was no activity indicator.  I tired the forum but the entire forum was down.  Finally after a useless chat I opted to start the download again.  The CC Application Manager started up and displayed a progress bar.  When it was finished I got a message saying the download had failed.  After a couple more tries I got PS and Bridge downloaded successfully then downloaded Lightroom.  BTW, you don't get the install files.  It installs as it downloads.  You can't tell it where you want it installed.  For us with a tiny boot SSD it's a squeeze.
    I've reactivated my Lynda.com membership and am catching up on what's new in PS CC 2013 and 2014.  Photoshop CC seems to be behaving OK, but I'm not sure if Adobe is ready for prime time.  Do you suppose they had a hand in crafting Healthcare.gov?. 
    - Dave

  • Need more info about "NestedContainer" violation

    Hello,
    I have a "NestedContainer" violation for a Canvas container in my application. Compared to the application's root container it is located at level 6 i.e. nested in 5 other parent containers. However at the same time I have other containers (again Canvases) which are even deeper nested for example at level 8 compared to the root container.
    I need more information when exactly the "NestedContainer" violation is triggered so I fix my code if needed and submit a bug for FlexPMD in case the rule is not implemented as designed.
    Thanks!
    Smirnoff

    Hi
    I would like to share an example but I need to create it since I don't want to post the actual source code.
    Simply copying the problem mxml file under another name doesn't work because it is put outside its container and then the violation is not generated.
    If I have to create an example it might be too time consuming to achieve these:
    - keep the same component hierarchy
    - keep the problem present
    - keep the example clean from the real source code
    That's why I wanted to get more info when this violation is triggered and hopefully create an example faster.
    Smirnoff

  • Need more room! Internal HDs vs. External HDs

    Hi, I own a late 2005 Dual core 2.3 GHz PowerPC G5 running OS Tiger 10.4.11.
    I would like to upgrade to Leopard as well as needing more space for my music and photos.
    I was looking into additional 1 Tb external storage options (just bought a 1 Tb Western Digital MyBook Home Edition last month) but am getting turned off by so many conflicting reviews of the various brands out there. I don't even trust the MyBook, to be honest (**** you Costco) although it's been fine so far. I know a drive is a drive and should be treated as though it WILL fail, possibly/probably unpredictably, at any point. But I am wondering if I am better off upgrading my internal drives. Are they generally more stable than external drives? I currently have both internal bays occupied with Hitachi Deskstar 500G drives; the second being a clone/backup of the primary drive. Bearing in mind that I will probably upgrade my computer sometime in late 2010, is it more convenient/economical to just get externals and hope for the best rather than swapping out the two internals?
    If I go for internal drives, does my machine safely support sizes over 500 gigs? If so, do you recommend sticking with Hitachi Deskstar brand?
    Any advice would be much appreciated.
    Thanks!!

    Hi, yes, MyBooks are terrible, return it if you can & get one without any "Front Button Touch" feature.
    http://discussions.apple.com/thread.jspa?messageID=10376611&#10376611
    http://x704.net/bbs/viewtopic.php?f=12&t=3219&p=42023&hilit=western+digital#p420 23
    http://x704.net/bbs/viewtopic.php?f=6&t=2939&p=34120&hilit=western+digital#p3412 0
    For internal Storage options see this...
    http://tinyurl.com/ygtbaan
    For external get FW/800...
    http://eshop.macsales.com/Search/Search.cfm?Ntt=firewire%20800

  • I need more disk space how do I do this?

    need more disk space how do I do this?

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    Use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    After installing ODS in the Applications folder, drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of this. Don't delete anything while running ODS as root. When you're done with it, quit it and also quit Terminal.

  • Need more ram on 10.4.11, what can i safely dump?

    need more ram on 10.4.11, what can I safely dump after saving on x-ternal h/d?

    OS X 10.4 is Tiger, and 10.4.11 is the last release. It's been stable for quite some time, so I wouldn't hesitate to upgrade to it. The next operating system upgrade would be to Leopard 10.5, and with a MacBook you could probably upgrade to Snow Leopard 10.6.
    When upgrading within an operating system release, ie 10.4.10 to 10.4.11, you don't typically have issues. When going to the next level of operating system, that's where you can run into issues with printer or other drivers and/or programs that need to be updated to run with the newer operating system.  With the exception of losing the OS X classic environment when upgrading to 10.5 Leopard and losing the Rosetta emulator (which runs PowerPC code on Intel platforms) when upgrading to 10.7 Lion, for the most part, the upgrades are pretty straight forward.

Maybe you are looking for

  • Can't get 2 exchange accounts, even when push is off?

    Is there no way to have 2 exchange accounts set up at the same time, even when push is off and I just check them manually? Why can't the phone simply check whichever account I choose when I open the mail app instead of limiting it to one account when

  • Resizing JFrame with a Jbutton click

    I've witten a simple GUI program that if you click on one button it increases the size of the JFrame and the other button will decrease it. The problem is I tried using ComponentResize() putting a listener on the buttons,but it wouldn't work. Anybody

  • Facetime works with wireless security disabled, dropped otherwise

    On a D-Link DIR-615 wireless router, configured as an access point. Security mode: WPA-Personal WPA mode: WPA2 Only Cipher type:AES I tried inserting a 1.3 Mb file, to no avail. I have an iPad mini with OS 8.1.2 Please let me know if more information

  • Attaching output type automatically

    Hi all,       i have developed an invoice form for my client.The output type for that form is maintained correctly and even condition records are maintained properly,but still the output type is not getting attached automatically.Can any one help. Th

  • Detecting Form Fields

    Here at work, we use AutoCAD to draw up specs on our products. From there we convert to .PDF where we fill in the text fields as needed for our products. Rather than manually placing each text field on the PDF, how do I have the program locate where