The burning never ends
Perhaps someone else is having this problems. I'm using iDVD 6.01. When I use one of the new templates, particularly White Reflections, the burning process gets about half way done and then idles forever until I have to force quit. The DVD plays in DVD player for about a minute then freezes. Older templates work just fine.
Does anyone have a fix for this problem. I love the new templates and it would be nice if I could use them.
Thanks.
Hi bdkoff:
Karsten is right on the money. It does take a while to get done.
The reason the dvd plays for a bout a minute and freezes is because you didn't let the process finish. Depending on the size of the project, it might take a bit of time (even on your awesome G5 quad!!)
Just remember to dump your iDVD preferences once you've hit "force quit" before starting a new burn.
Sue
Similar Messages
-
I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now. And I can't close preferences window or turn off the computer.
It's stays in the "deleting" but I can't cancel it or close the window.
What can I do?Here are two screen shots to show you what I am seeing. The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as). The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue). However when I click on the user "Orion" nothing happens. It will not change to highlight that user.
-
hey i have this problem with my mac.. that its on its own shuts itself whenever i m using google chrome..i updated to yosemite but the problem never ended and i m experiecing unexplained shutdowns
Hi doctor.saddam,
If your MacBook Pro is shutting down unexpectedly, I would suggest that you troubleshoot using the steps in this article -
OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
Thanks for using Apple Support Communities.
Best,
Brett L -
The fun never ends...
OK, now I have a new movie that I have been able to successfully "skin". I uploaded it and when you try to view it, QT wants to download the entire 105mb file before playing. I have tried to open the file on my hard drive and do a "save as" to restore the fast start, to no avail. Also, is fast start the best setting or what about hinted streaming, etc.?
Here was my workflow if that helps.
1. I took a DV file and exported it as a 360x240 QT file.
2. Opened that file in QT along with the "skin file.
3. Pasted the "skin" file, repositioned and numbered layers.
4. Did a "save as" and renamed the self contained file for internet.Here a neat tool to flatten a qt movie. It will only flatten a .mov movie. It will not flatten a .mpg. If it's a .mpg movie your working with. you have to open the .mpg movie in qt and do a save as. This will save the movie with a .mov extensiion.
This tool is fast...and works.
http://babelfish.altavista.com/babelfish/trurlpagecontent?lp=fren&trurl=http%3a%2f%2fwww.qtbridge.com%2flillipot%2flillipot.html
The web site will open in babefish to translate it from French to English. -
Belgium - impossible to upload a book for printing the task never ends
Hello, i want to order a book (75 pages) and i can't upload it on the printer server.
I have restarted my modem, mac pro...
I have let the upload process on for over 2 days and the task is always at 0%.
My internet connection is fully functional i can upload trough ftp software.
Is there any other print service(in europe) that provide same book model than the ones from apple?I haven't ordered one recently but I have ordered several books over time from Belgium. All have worked perfectly. Being based in Luxembourg we are pushed onto Belgium which then does not recognise the existence of Luxembourg. Nevertheless, we get around it. I am told that the Belgian operation actually works through Netherlands. My preference would be Germany or UK next time I do this, if I can make them work.
-
Initial Time Machine Backup never ends
Hi all folks,
I try to backup my PB12 Disc (120 GB) to a external 500 GB Disc, connected via FW400, but the backup never ends, I think.
The backup starts with 100MB/min but after 20h (80GB are store to a external Disc) it slow down to 1MB/min.
With the "Activity Monitor" I see only some disc activities and a "mds" and "mdworker" process use some cpu time only (more than 10%).
Where can I get some detail information, a log file, about the Time Machine activity from.
Thanks for any help,
LutzHi all folks,
the initial Backup ends after 2 days (nice to to see, :-(),
but on the boot volume I can go the time walk only.
I split my disc into two partitions, sorry.
Bye, Lutz
p.s.
With CCC I spend 4-6 hours to back up my disks only (100GB). -
hello,
my scene only contains 2 images.
the 1st: a layer with the script "stop;", and,on another, a
movie clip with the scrip:
onClipEvent(load){
Calculate approximate kbps after test swf loads
function getkbps(startTime,sizeInBytes) {
elapsedTimeMS = getTimer() - startTime; // time elapsed
since start loading swf
elapsedTime = elapsedTimeMS/1000; //convert to seconds
sizeInBits = sizeInBytes * 8; // convert Bytes to bits,
sizeInKBits = sizeInBits/1024; // convert bits to kbits
kbps = (sizeInKBits/elapsedTime) * 0.93 ; // IP packet
header overhead around 7%
return Math.floor(kbps); // return user friendly number
Load test.swf with a unique time to work around browser
caching.
Browser will always load a new copy of SWF because url is
different each time.
now = new Date(); // create date object
nocacheStr = "?" + now.getTime();
this.loadMovie("test.swf"/*+ nocacheStr*/);
onClipEvent(enterFrame){
// do not execute code until SWF begins to load
if(this._url != _root._url){
if(typeof start == "undefined") {start = getTimer();} // set
start time once
if(this.getBytesLoaded() < this.getBytesTotal()){ /* not
yet loaded*/}
if(this.getBytesLoaded() == this.getBytesTotal()){ // swf
loaded call getkbps()
_level0.bandwith = getkbps(start,this.getBytesTotal());
_root.gotoAndStop(2);
in th second image the only script is:
//Ouvre une connexion locale qui vous permet de lire les
fichiers vidéo (FLV) depuis une adresse HTTP ou depuis un
système de fichiers local.
// on crée l'objet de connexion (objet NetConnection)
maConnexion = new NetConnection();
// Connexion à la source de donnée
// quand il s'agit de charger une video externe sans utiliser
FlashComm
// il faut transmettre le paramètre null à la
méthode connect
//on se connecte
maConnexion.connect(null);
//on crée un objet NetStrean pour pouvoir utiliser les
méthodes et prpopriétés permettant de lire des
vidéos en local ou depuis une adressse http
// Création d'une occurence de l'objet NetStream
monFluxVideo = new NetStream(maConnexion);
// attachement du flux video à une occurence de l'objet
Video
ici.ecran.attachVideo(monFluxVideo);
//on définis le nombre d'images par secondes:
fps=12;
function essai(){
if (bandwith != Infinity) {
temps_chargement = (monFluxVideo.bytesTotal / bandwith) -
(monFluxVideo.bytesTotal/fps);
if (temps_chargement>=0){
monFluxVideo.setBufferTime(temps_chargement);
}else{
monFluxVideo.setBufferTime(20);
essai();
// lancement de la lecture
monFluxVideo.play("eveque_moins_oiseaux.flv");
//permet de lisser la video lorsqu'elle est
redimensionnée
monFluxVideo.smoothing;
//bouton play
bt_joue.onRelease = function() {
monFluxVideo.play("eveque_moins_oiseaux.flv");
//bouton pause
bt_pause.onRelease = function() {
monFluxVideo.pause();
//bouton stop
bt_stop.onRelease = function() {
monFluxVideo.pause();
monFluxVideo.seek(0);
//bouton avance
bt_avance.onRelease = function() {
monFluxVideo.seek(monFluxVideo.time+10);
//bouton recule
bt_recule.onRelease = function() {
monFluxVideo.seek(monFluxVideo.time+10);
//----son
//ici.ecran.attachAudio(monFluxVideo);
var monson = new Sound(ecran);
var i = 100;
moins.onPress = function() {
monson.setVolume(i -= 5);
son = i add " %";
plus.onPress = function() {
son = i add " %";
if (i>=100) {
i = 100;
} else {
monson.setVolume(i += 5);
//fonction de démarrage en fonction de ce qui est
chargé
//Spécifie la durée de la mise en mémoire
tampon des données avant le démarrage de l'affichage du
flux vidéo.
//monFluxVideo.setBufferTime(4000);
monFluxVideo.seek(info);
function verif() {
// info prend pour valeur la position dans le temps en
seconde (tete de lecture)
info = Math.round(monFluxVideo.time) add " sec";
setInterval(verif, 100);
function charg() {
pourcentage = "Chargement : " add
Math.round((monFluxVideo.bytesLoaded/monFluxVideo.bytesTotal)*100)
add " %";
setInterval(charg, 100);
When i play the scene the loop never ends. even with the
"gotoAndStop(2)"...
Please help me...You should read up on Garage Band, I figured it out in 2 minutes and I don't really use that program.
You need to create a new software instrument and then use a midi keyboard or the software one provided. Hit record and hit your note, holding it down as long as you want.
Andy -
Hi,
Well I had a few minutes on my hand and decided to build a simple socket application that handles a browser request with a �hello�. Then I decided to complicate that a little and to actually send back what I receive. However the while loop that checked the input from the browser never ends (that is I never get a �1 from inputStream.read() method).
Could someone please explain me why this happens? And how this could be solved? I mean how to detect that the request is over and it is time to respond. (In other words how can I base my response according to the request if I never know when the request is over!).
Here is the code I used import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
public class Test7 {
public static void main(String[] args) {
try {
ServerSocket serverSocket = new ServerSocket(9989);
while(true){
Socket socket = serverSocket.accept();
new Thread(new SimpleHttpHandler(socket)).run();
catch (Exception e) {
e.printStackTrace();
class SimpleHttpHandler implements Runnable{
private Socket client;
public SimpleHttpHandler(Socket client){
this.client = client;
public void run(){
try{
BufferedOutputStream outputStream = new BufferedOutputStream(
this.client.getOutputStream()
BufferedInputStream inputStream = new BufferedInputStream(
this.client.getInputStream()
int in = 0;
while((in = inputStream.read()) != -1){
System.out.print((char)in);
outputStream.write(in);
outputStream.close();
outputStream.flush();
catch(Exception e){
e.printStackTrace();
Regards,
Sim085So you can't read RFC but can read forums? :)Can you imagine reading documentation about something by continuously minimizing and maximizing the browser window? (which I do when at work so to attract less attention) :)
Well if you want simplest way then just send header,
data and close connection that's enough.Thanks :) I understand that now :)
@bsamperi & [email protected]
The code I provided above was not correct. I fixed it and posted it again just in case someone else comes across this post. As already said this was not what I had in mind to do in the first place, but it was fun :) Anyways here is the working code! (Although naturally not good for anything)import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.ServerSocket;
import java.net.Socket;
public class Test7 {
public static void main(String[] args) {
try {
ServerSocket serverSocket = new ServerSocket(8871);
while(true){
System.out.println("Waiting for request");
Socket socket = serverSocket.accept();
new Thread(new SimpleHttpHandler(socket)).run();
catch (Exception e) {
e.printStackTrace();
class SimpleHttpHandler implements Runnable{
private final static String CLRF = "\r\n";
private Socket client;
private BufferedWriter writer;
private BufferedReader reader;
public SimpleHttpHandler(Socket client){
this.client = client;
public void run(){
try{
this.writer = new BufferedWriter(
new OutputStreamWriter(
this.client.getOutputStream()
this.reader = new BufferedReader(
new InputStreamReader(
this.client.getInputStream()
System.out.println("-- IN --\n" + this.read() + "\n");
System.out.println("-- OUT --\n" + this.write("Thank You"));
this.writer.close();
this.reader.close();
this.client.close();
System.out.println("Completed response");
System.out.println("--------------------\n");
catch(Exception e){
e.printStackTrace();
private String read() throws IOException{
String in = "";
StringBuffer buffer = new StringBuffer();
while(!(in = this.reader.readLine()).trim().equals("")){
buffer.append(in + "\n");
return buffer.toString();
private String write(String out) throws IOException{
StringBuffer buffer = new StringBuffer();
buffer.append("HTTP/1.0 200 OK" + CLRF);
buffer.append("Content-Type: text/html" + CLRF);
buffer.append(CLRF);
buffer.append(out);
buffer.append(CLRF);
writer.write(buffer.toString());
return buffer.toString();
}The output of this code is: Waiting for request
-- IN --
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword, application/x-shockwave-flash, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2;
.NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: localhost:8871
Connection: Keep-Alive
-- OUT --
HTTP/1.0 200 OK
Content-Type: text/html
Thank You
Completed response
Waiting for request
-- IN --
GET /favicon.ico HTTP/1.1
Accept: */*
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2;
.NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: localhost:8871
Connection: Keep-Alive
-- OUT --
HTTP/1.0 200 OK
Content-Type: text/html
Thank You
Completed response
Waiting for request
...Which shows that this application will handle any web request with a �Thank You� since I am not basing the response on the request. However that should not be hard once the request and response are handled ok.
Thank to both of you for your help :)
Regards,
Sim085 -
Hi,
I have been developping my app since 2 month now and I never had any problem with creating test ipas (ie:target = ipa-test). But when I decided to create my final build for the app store (target = ipa-app-store) the process never ends.
I run the compilation and it seems to be doing something (I can see the temp files and hear the fans) but it just doesn't stop. I tried many times and usually kill the process after an hour or so.
I know that other people had a similar problem but I didn't find any official answer for it. Is it a bug? Does it have a workaround?
I'm on a Mac with Snow Leopard and tried to build the ipa from both Flash CS5 and a custom ant build.
I would really appreciate some feedback about it.
Cheers,
BenFirst and foremost, compiling for iOS takes a lot of resources, it cannot be compared to packaging for Android, because the process is completely different, AIR on Android runs interpreted code, while on iOS it is native code, before deciding the compilation is stuck you should check the java/adt processes aren't doing anything. It's been said future AIR versions will reduce iOS compilation times.
Second, I've seen iOS compilation fail and take forever only when using certain ANEs and Flash Builder versions. FB doesn't take too well certain ANE warnings and errors, and instead of ignoring or finishing the process showing some alert, it just sits there making you wait forever. If you are using ANEs in your project, you should isolate the problematic one, and then determine what may be the cause... if some problem with the iOS SDK used with your AIR SDK, if the ANE is causing some unimportant warnings but your IDE doesn't like them, etc. -
Good morning,
I am trying to import an ics calendar.
This calendar has been export with csexport.
The csexport takes a few seconds.
But the csimport never ends (after several hours).
There are 8000 events.
A truss an the process show almost no nothing except:
truss -p 16176
brk(0x01B92320) = 0
brk(0x01BA4320) = 0
brk(0x01BB6320) = 0
brk(0x01BC8320) = 0
brk(0x01BDA320) = 0
brk(0x01BEC320) = 0
I have open call 70642348 because I am stuck.
Would you know what I could do else to to import this ics file
or to trace the problem?
Thanks in advance for your help.Hi,
I do not have other system, but I can provide you the ics file.
You should immediatly see my problem.
What I have find out also is that if I export with csexport rather than uwc,
I do not have this problem although the files are very similar.It might be good to provide both .ics files on the Sun support call -- the calendar exported from uwc, and exported using csexport.
Thanks.
--Wei Yee -
Launching a never ending vi in sequence
Hi!
I have a vi that can basically be represented by a while loop that never stops until i press a button.
I want to load and run this vi from a sequence without it hanging up that sequence.
Also, at the end of the sequence it would be great if it could end the loop in the vi.
For this last part I made the vi read out a variable in my locals and stop the loop as soon as it is a certain value.
(I think this is a good solution, but any suggestions are of course welcome )
For being able to run the rest of the sequence, even though the vi never ends, I was less successful.
I tried putting the vi in a subsequence and then running that subsequence in a different thread.
However, stepping through the main sequence, it does steps over the call of the subsequence,
but then the main sequence still freezes until i stop the loop in my vi.
What am i doing wrong exactly? Any help would be much appreciated!
Solved!
Go to Solution.Run Asynchronous VI basically uses a sequence call module with the "New Thread" option, but I don't think it does much more than that. I think you still have to do ExternallySuspended and/or Termination monitor in your vi. At any rate, I recommend against using Run asynchronous vi as there have been issues with using that step type (confusion over what passing ThisContext means for the most part). See the following link for more details about the issues with Run asynchronous vi if you are interested:
http://forums.ni.com/ni/board/message?board.id=330&message.id=28101&query.id=753835#M28101
As far as termination monitor not detecting whether or not the original thread has completed normally, that is not its purpose and not always what a user might want. For example, you might have a worker thread that you want to keep running even after the thread that launched it completes. There might even be more than two threads in the execution and the execution technically isn't complete until all threads are done, including the asynchronous ones. The purpose of the termination monitor is to give the code module a way to detect when the user is requesting a terminate or abort so that it can return and allow the execution to terminate or abort normally (an execution cannot terminate or abort while a code module is still running).
Like you are suggesting, you can probably pass in the original caller's thread as a parameter to the asynchronous sequence and your VI and call Thread.WaitForEnd on it with a 0 ms timeout to check if it's done in your loop. You need to make sure that you unchecked the "Automatically Wait for the Thread to Complete at the End of the Current Sequence" setting on the advanced panel of your sequence call step though or your threads will both be waiting for each other and never complete. Also the sequence view of the execution is likely to switch to your asynchrous thread at the end because it will be the last thread running, so if you don't want that you should probably just go with passing a boolean variable instead and leave the setting "Automatically Wait for the Thread to Complete at the End of the Current
Sequence" checked. Do not ever pass ThisContext from one thread to another though as that is the source of the problems people are having with Run VI Asynchronously.
Hope this helps,
-Doug -
Should I keep waiting for the Burn to complete?
I Have a 2 hour movie in iDVD 5.0.1 with theme (The rear window of a car) and Scene selection etc. It cranked through :
1. Prepare
2. Process Menus
3. Process Slideshows
4. Process Movies
this all took 9 or 10 hours
5. BURN - Retrieving and Preparing Project .
This has been on the last 1/8 of an inch of the progress bar for 36 hours.
The Burn icon in the lower right is still spinning.
When I hit the Force Quit it DOES NOT say it is not responding as I have seen in the past.
Do I keep going or start over? I have iDVD 6 on an exterbal HD, I could try or maybe a different theme in iDVD 5.
One more thing, I have Burned this iMovie in Toast in 9 hours and I am using a TDK DVD+R DL. I burned with toast on a Verbatim but that obviously did not have the iDVD theme I wanted. I have TDK , Memorex and Verbatim DVD+R DL.
Can anyone help?
Thanks
LargeALBengt,
I have not been able to burn an iDVD yet in iDVD 5 or iDVD 6.
I suspected the length was just a bit too long (2hours 20 min) but I can burn in Toast all day long. It is much simpilar themes etc , but still Toast crank it out on 8 hours.
One othe question: If the burn never completes and I force quit after days is mt DVD+R DL still burnable? Is the dic unusable?
I have and awesome looking movie in iDVD/iMovie and would really like to burn it. Should I split it up into 1.5 hour chuncks? I hate to do that but I have spent weeks off and on trying to burn in iDVD. -
FCPX never ending transcoding after Mavericks?
Hello folks,
Saw some of the other threads about problems with FCPX and Mavericks. Fortunately, everything has been fine for me... up to this point. I didn't see this discussed yet so I figured I'd post my issue in it's own thread.
I've been trying to import some files (AVCHD) as usual for ongoing projects. I copy the files and transcode them to optimized media. Never had a problem before. It seems to copy all the files fine, but seemingly never stops transcoding. I've been trying to import two different projects... about 4-5 hours of footage each... and it's been two days now and the transcoding never ends! Typically one such project takes about real time to import and transcode (4-5 hours, if not faster, never really timed it). I'd begin an export in the morning and come back after lunch and it would always be done.
That is no longer the case it seems.
Has anyone else experience the same issue? I just installed any and all updates available (nothing for FCPX however), restarted my computer and FCPX, and am trying again. Hopefully the footage ingests fine this time. But for the sake of losing more time and getting more frustrated, I'm hoping someone out there has a solution to this in the event the same problem persists for me.
Any feedback would be appreciated.
MattHi Russ,
Thanks for taking the time to respond. You've been extremely helpful in the past! As an update... I started the import around 7pm last night (EST). This morning, at 5am, it was still importing and transcoding... but it looked like it was at least working. After restarting last night, I tried to import and transcode a single short clip before doing the full import and that was easily successful.
When I get to the import prompt, I only check off "Copy files to Final Cut Events folder" and "Create optimized media". This workflow has been great for me. I turn off background rendering and don't even render 2 hour long projects with heavily edited footage before exporting to m4v master files (which turn out just fine without the rendering). That's beside the point though.
Back on track, when I open the Background Tasks, of course the transcoding is going. The Importing Media is stuck on 99%. Not sure if that's normal or not... never really paid attention to that in the past. The Rendering says it's creating audio waveforms. Again, not sure if that's normal or not.
In Activity Monitor, I might have found a problem. It seems FCPX is only using around 0.5% of CPU during the import. No other program is running really except for Activity Monitor, which would leapfrog FCPX in how much of the CPU it's using at time. At the bottom, it says my computer is around 98-99% idle! That all raises an eyebrow to say the least. I'm not a computer whiz when it comes to the technical aspect of how my system might be performing and I have admittedly not tried an import on another machine yet (I have three iMac's). So it may just be an issue with this one machine.
It's a 2011 model year running a 2.93 quad, i7. At least I'm pretty sure of that. I'm on a corporate event now typing away from another one of my iMac's and won't even know if the import and transcoding back at home is successful until I get back in tonight around 6:30 or so.
Even if it is, there's definitely something going on with how long it's taking. What's typically a 4-5 hour process (est) was still ingesting 10 hours later. -
SQL Server Multiple JOINS with Table Value Function - query never ends
I have a query with 4 joins using a table value function to get the data and when I execute it the query never ends.
Issue Details
- Table value function
CREATE FUNCTION [dbo].[GetIndicator]
@indicator varchar(50),
@refDate datetime
RETURNS
TABLE
AS
RETURN
SELECT
T1.Id ,T1.ColINT_1, T1.ColNVARCHAR_1 collate DATABASE_DEFAULT as ColNVARCHAR_1 ,T1.ColNVARCHAR_2 ,T1.ColSMALLDATETIME_1, T1.ColDECIMAL_1, T1.ColDECIMAL_1
FROM TABLE2 T2
JOIN TABLE3 T3
ON T2.COLFKT3 = T3.Id
AND T3.ReferenceDate = @RefDate
AND T3.State != 'Deleted'
JOIN TABLE4 T4
ON T2.COLFKT4 = T4.Id AND T4.Name=@indicator
JOIN TABLE1 T1
ON T2.COLFKT1=T1.Id
- Query
DECLARE @RefDate datetime
SET @RefDate = '30 April 2014 23:59:59'
SELECT DISTINCT OTHERTABLE.Id As Id
FROM
GetIndicator('ID#1_0#INDICATOR_X',@RefDate) AS OTHERTABLE
JOIN GetIndicator('ID#1_0#INDICATOR_Y',@RefDate) AS YTABLE
ON OTHERTABLE.SomeId=YTABLE.SomeId
AND OTHERTABLE.DateOfEntry=YTABLE.DateOfEntry
JOIN GetIndicator('ID#1_0#INDICATOR_Z',@RefDate) AS ZTABLE
ON OTHERTABLE.SomeId=ZTABLE.SomeId
AND OTHERTABLE.DateOfEntry=ZTABLE.DateOfEntry
JOIN GetIndicator('ID#1_0#INDICATOR_W',@RefDate) AS WTABLE
ON OTHERTABLE.SomeId=WTABLE.SomeId
AND OTHERTABLE.DateOfEntry=WTABLE.DateOfEntry
JOIN GetIndicator('ID#1_0#INDICATOR_A',@RefDate) AS ATABLE
ON OTHERTABLE.SomeId=ATABLE.SomeId
AND OTHERTABLE.DateOfEntry=ATABLE.DateOfEntry
Other details:
- SQL server version: 2008 R2
- If I execute the table function code outside the query, with the same args, the execution time is less the 1s.
- Each table function call return between 250 and 500 rows.Hi,
Calling function in general is a costly query. And definitely joining with a function 5 times in not an efficient one.
1. You can populate the results for all parameters in a CTE or table variable or temporary table and join (instead of funtion) for different parameters
2. Looks like you want fetch the IDs falling to different indicators for the same @Refdate. You can try something like this
WITH CTE
AS
SELECT
T1.Id ,T1.ColINT_1, T1.ColNVARCHAR_1 collate DATABASE_DEFAULT as ColNVARCHAR_1 ,T1.ColNVARCHAR_2 ,T1.ColSMALLDATETIME_1, T1.ColDECIMAL_1, T1.ColDECIMAL_1, T4.Name
FROM TABLE2 T2
JOIN TABLE3 T3
ON T2.COLFKT3 = T3.Id
AND T3.ReferenceDate = @RefDate
AND T3.State != 'Deleted'
JOIN TABLE4 T4
ON T2.COLFKT4 = T4.Id AND T4.Name=@indicator
JOIN TABLE1 T1
ON T2.COLFKT1=T1.Id
SELECT * FROM CTE WHERE Name = 'ID#1_0#INDICATOR_X' AND Name = 'ID#1_0#INDICATOR_Y' AND Name = 'ID#1_0#INDICATOR_Z' AND Name = 'ID#1_0#INDICATOR_W' AND Name = 'ID#1_0#INDICATOR_A' AND ReferenceDate = @RefDate.
Or you can even simplify more depends on your requirement.
Regards,
Brindha. -
Apple Hadrware Test never ends after ram upgrade
Hello,
I have a macbook pro 15" mid 2012 (not the retina) with osx 10.9.4.
I recently upgrade my 4go of ram to 8go of ram (Corsair Vengeance SODIMM 2x4go PC12800 1600Mhz CL9 1.5V CMSX8GX3M2A1600C9).
In order to test the ram I use the Appel Hardware Test.
Both mode, simple and extended, seems to be frozen and never ends.
I try to let the test works the all night and the all day but the test never ends.
So I decided to test my ram with memtest86 boot cd and everything seems to be ok.
The fact that Apple Hardware Test never ends trouble me.
Do you think there is a problem with my ram ?
Do I need to return my ram ?
ThanksWelcome to the Apple discussions.
We could discuss how you'd benefit from the additional memory, however, since the system isn't working, let's focus on the beeps.
When you start the system, it goes through some tests (called the power on self test or POST) before loading the operating system. If it finds any errors, it beeps, and the beeps are:
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
3 beeps means it doesn't find any memory that passes the POST test. The fact that this started up after the service center installed the memory upgrade is suspicious, however, if it worked in the store then stopped working later, it may just be unfortunate timing.
There are some company's on the internet that claim they can repair the logic boards, otherwise, Apple's solution is to replace them. In the US, some Apple stores offer a 'fix everything' service for $350, which is less than specifically replacing the logic board - perhaps there is a similar service in Taiwan.
Maybe you are looking for
-
Changing the Default Location for Backups
I've just downloaded PC Suite 6.81.13.0. How do I change the default location where backups are stored on my laptop? The default location stores the data in an location that is not compatible with my company network profile. I want to store the data
-
Windows and iTunes does not recognize
yada, yada... I tried the Rs, but my new computer and iTunes does not recognize my shuffle. Can someone give me basic steps to correct this? Shuffle was previously 'synched' with another iTunes library and I don't want to erase my currently uploaded
-
Select new row in tree after add
In quite a few of our pages in our application we have trees and tree tables that can have rows added through separate popup windows. After the user successfully adds the record and closes the popup the tree/treetable is refreshed properly, however w
-
Point a logical Port in the backend to XI
Hi friends, how do i point a logical port in backend to XI,how do i derive the XI url to be pointed. regards kaushik
-
Hi All, I have a procedure which generates a file using UTL_FILE package. If the procedure fails while generating the file, will ORACLE cloase the file after the procedure fails? Thanks in advance, Annie