problem with the type of date dd/mm/yyyy
Hi all!I want to do something simple.
to get a type of dd/mm/yyyy string and convert it ti date jj/mm/aaaa type.
I wrote simple code
String pattern = "dd/MM/yyyy";
SimpleDateFormat format = new SimpleDateFormat (pattern);
try {}
Date = format.parse("12/03/2006");
System.out.println (date);
} catch (ParseException exception) e {}
e.printStackTrace ();
}
but the problem that I get Sun Mar 12 00:00:00 GMT + 02:00 2006
and I want to get this format dd/mm/yyyy.
because I need to insert it in my db. Thank you all
First thing: almost always if a SQL statement uses variable data, use a PreparedStatement. With the help of a simple statement can, at first, most obvious glance, but it will cause endless problems.
The constant strings in SQL are "single quotes" i.e. apostrophes. They must at least cannot escape string constants. One of the reasons for always using class PreparedStatement is that you concatenate in a string value may contain an apostrophe. In this case it will be, at best, give your SQL syntax error. Worse it can make your system vulnerable to hackers.
Use code publishing code tags. Put the word 'code' braces before and after. This makes your code readable.
The field attribute by DEFAULT when you create a table must be a real date, not a model. I have never know this is useful for a date, except if it set to pick up the current date.
Tags: Java
Similar Questions
-
Problem with the type of data in a view
Hi all
I have modified a view. For this reason my view passed to varchar2 column data type number automatically. But it should be only a number.
Updated the view that changes the data type of column varchar2
VIEW to CREATE or REPLACE v1
AS
SELECT Decode (Sign (mta.base_transaction_value), 0, Decode (Sign (mta.transaction_value), Decode (Sign (mta.primary_quantity),-1, NULL, 0))
MTA.base_transaction_value),
-1, NULL,
Decode (Sign (mta.primary_quantity),-1, NULL, NULL
MTA.base_transaction_value),
(0)
1, MTA.base_transaction_value,
Col1 is NULL)
Mtl_transaction_accounts MTA
Old view that keeps this column under the number:
VIEW to CREATE or REPLACE v1
AS
SELECT Decode (Decode (Sign (mta.base_transaction_value), 0, Decode (Sign (mta.transaction_value), 0, Decode (Sign (mta.primary_quantity), 1,0,))))
0,0,
(NULL),
1.0,
(NULL),
1, MTA.base_transaction_value,
Col1 NULL))
Mtl_transaction_accounts MTA
-> Create a note that the type of data of base_transaction_value, transaction_value, primary_quantity columns is number
No help for making the data type of column 'col1' number using my first query?
Thank you
SriniThe data type of an expression of DECODE() is determined by that of his first return value. Oracle has decided that a NULL value is a VARCHAR2 data type (because there must be something ).
The changes to your code are extremely intertwined and twisted out and frankly too hard to work through. However, I think at some point the changes that you have implemented it had that effect.
SQL> create or replace view v1 2 as 3 select decode(to_number(to_char(sysdate, 'dd')), 1, 0, 99) as col1 4 from dual 5 / View created. SQL> desc v1 Name Null? Type ----------------------------------------------------- -------- ---------------- COL1 NUMBER SQL> create or replace view v1 2 as 3 select decode(to_number(to_char(sysdate, 'dd')), 1, null, 99) as col1 4 from dual 5 / View created. SQL> desc v1 Name Null? Type ----------------------------------------------------- -------- ---------------- COL1 VARCHAR2(2) SQL>
Cheers, APC
blog: http://radiofreetooting.blogspot.com
-
problem with the type of local and global
Hi the gems...
I have a plsql package. In the package, I defined a proc that takes two input parameters of type simple number and a parameter of a type of output collection.
create or replace package pack_1 as body
procedure proc_1 (p_number1 in number, p_number2 number, p_tt_table to tt_table) as
v_tt_table tt_table:=tt_table();
type c_ref_cursor is ref_cursor;
v_c_ref_cursor c_ref_cursor;
v_sql varchar2 (20000): = < a large sql using bind variables p_number1 and p_number2 >
Start
Open the v_c_ref_cursor for v_sql using p_number1, p_number2;
loop
extract the v_c_ref_cursor in v_tt_table;
When the output v_tt_table.count = 0;
for idx in 1.v_tt_table.count
loop
< business logic >
end of loop
end loop;
close v_c_ref_cursor;
< excpetion_block >;
end;
< several codes for the rest of the package >
When I execute the proc_1 then he throws me error of data type incosistent while to fetch the v_c_ref_cursor of cursor in the v_tt_table variable.
ORA-00932: inconsistent data types: expected - was -.
But I have checked that the output of the query is similar with the type of variable.
Now, a few facts: the tt_table of the user-defined table type is made from ot_table (create or replace tt_table to ot_table Board).
The parent type i.e. ot_table has the same columns of this query in v_sql my proc.
The ot_table and the tt_table are global types.
But when I did these two types as local types, then the proc works very well. But I need them as global types only according to the condition in java.
Please help me. The database is 11 GR 2.
Thanks in advance.user12780416 wrote:
I'm trying to keep it in the simplest form... Please take a look...
Ah... Easy to solve.
The projection of SQL must be an object of type ot_test_type for extraction in bulk work.
Your projection of SQL look like this:
cursor c1 is select object_name from user_objects;object_name is a string - it is not of type ot_test_type.
You must change the projection to return ot_test_type. This is done by using the default constructor for that type of object.
For example
cursor c1 is ot_test_type (object_name) select as the user_objects OBJECT;He may now be in bulk recovered in tt_test_type.
-
Problems with the transmission of data between the screws
Hi all.
I have a question where my program slows considerably during the race.
The program is a producer-consumer, where I have the main consumer loops and loops producer for USE comms, measure the output power, input for measuring the power, thermal control, etc..
Regarding the issue, the measures of output loop takes readings and transmits the data to a separate VI which remains running (measure of output processor). This VI summarizes and on average the data and also displays data for the operator to see details if necessary. The operator shows and hides the front panel of this VI with a button on the main program. This VI also returns the summary data to the main VI, where it is read by my loop of consumer.
The main measures output VI loop takes about 200mS to run when the program is first started. Less than a minute, it is 400 MS, and it's all downhill from there.
I've isolated the problem to the way I pass data back (I think). I couldn't find a way to pass the reference of the queue between two screws not connected by wires. I open a reference to the VI processor and use Ctrl Val.Set and Get to pass the data back. If I take the intersection of the Subvi data, there is no slowdown.
My questions are:
(1) why the data passing by invoking a node of the control on the target would cause the downturn?
(2) how would I get/pass information of queue between the two screws are not connected?
(3) Alternately, could I start the VI processor in my main program, run and pass data in and out of it? I want to keep it running, because it is also part of the user interface.
I don't know that I have not explained this very clearly. I took some screenshots of my code, but don't see how to download here.
Thanks in advance,
Jim
-
Problem with the acquisition of data on XP Embedded
Hello
I'm using LabView 8.5, 8.7 DAQmx. My application is collection of data of NI USB-6009 14bits. I tried to create applications for tablet PC with installed Windows Xp Embedded. I created the installer on tablet with installed Windows 2000. I solved all the problems that occurs during installation. First version of the program have assistant DAQ in a main VI who collect and process the data. It worked properly on Xp Embedded. Second version was split into two of the Subvi. One is data collection and secondary processing. Each VI have own while loop. Both Subvi is placed in the large loop and they start at the same time. I am writing all the data to global variables. On PC with the windows application created 2000 worked properly. Error occurs when I moved it to Xp embedded. VI, which is the collection of data, the error see the 200361 code and text:
DAQmx reading (analog 1-d Wfm NChan NSamp) .vi:2
The task name: _unnamedTask<0>I know its something with the sampling and the clock, but I do not see where is the problem. In the main loop and two Subvi I 'wait until the next ms Multiple"block with a value of 200. DAQ Assistant were set as follows:
Price: 1000
Number of samples: 1000
Timeout (s): 10
Can you tell which can cause this error?
If you would like more information please write here.
Problem solved. There was connection between PC and USB-6009. Program works when I connect the USB-6009 housing directly to the PC. Previous connection was through usb hub.
Thanks anyway.
0> -
Problem with the filtering of data
Hello!
I have a problem with filtering the data in my table and don't know how to solve it properly.
I created a tabular presentation, my table, a few text fields that are used as input for the various columns of the filter and a filter button that submits the page.
The problem appeared when I try to filter a column that has null values in the table and is editable... it's that I have found.
When I press the button I get no line, although there should be some.It's the submitted query:
Select
"MSR_PRD_ID,"
"SRC_STM_ID,"
"ID."
"ISIN"
...
of ' #OWNER # '. " IZV_SLOG_DET ".
WHERE
Lower (MSR_PRD_ID) = low (nvl (: P7_X_MSR_PRD_ID, MSR_PRD_ID)) and
Lower (SRC_STM_ID) = low (nvl (: P7_X_SRC_STM_ID, SRC_STM_ID)) and
lower (ISIN) = low (nvl (: P7_X_ISIN, ISIN)) and
...
The nvl function is used so that if the user leaves the field blank it filters by fields that have entry only.
Does anyone know how I could get around this?
Kind regardsIvan
LOWER (NVL (ISIN, 'Y')) = LOW (NVL (: P7_X_ISIN, BASS (NVL (ISIN, 'Y'))))
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Apress.com/9781430235125
https://Apex.Oracle.com/pls/Apex/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
-------------------------------------------------------------------
-
Problem with the query and date
I'm trying to show only the specific results in my query based on the following:
If the 'agreedate' is greater than today's date, less than 60 days, show it. Otherwise I don't want results.
I always get the results of the last year and I don't know why.
Here is my code:
<!-the value date today less than 60 days. This works and shows the correct date->
< cfset invitelimit = #now () # >
< cfset invitelimit = #DateFormat (DateAdd (would be ', - 60, invitelimit), 'dd-mm-yyyy') #.<! - query items from the db and try to catch only to those with a more agreedate then the invitelimit date - >
< name cfquery = "qinvite" datasource = "#Application.ds #" >SELECT DISTINCT * from team a
INNER JOIN followed b ON a.id = b.team_id
INNER JOIN termsagreement c ON a.login = c.loginWHERE c.agreedate > #invitelimit # AND b.comp_id = 0
Group By a.teamname
< / cfquery >
First of all. Confirm that the "argeedate" column is a datetime column. Not another type of data that would be much more difficult to work with.
Secondly, you should provide an appropriate database datetime value. The easiest way would be with the
tag. I.E.
WHERE
c.agreedate >
AND b.comp_id =
-
Hello everyone!
I used JAXWS to create WSDL from a file of Jehovah's witnesses.
It's my TJ:
-----------------------------------------------------------------------------------
package ws;
Import javax.jws.WebService;
Import javax.jws.WebMethod;
ws import. MyDataType;
*@WebService*
* public class MyWebService {*}
public MyWebService()
*{*
*}*
*@WebMethod*
public MyDataType MyWebMethod (MyDataType mdt)
*{*
* / / mdt.setS ("I got it!"); *
return mdt;
*}*
*}*
-----------------------------------------------------------------------------------
and this is my type of data:
-----------------------------------------------------------------------------------
package ws;
* public class MyDataType {*}
String ^ s;
public MyDataType()
*{*
*}*
* public String getS() {*}
return s;
*}*
* Sets public Sub (String s) {*}
This.s = s;
*}*
*}*
-----------------------------------------------------------------------------------
and that's my Ant build.xml
-----------------------------------------------------------------------------------
* < by default of the project = "all" > *.
* < property name = "weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/ > * "
* < taskdef name = "jwsc" classname = "weblogic.wsee.tools.anttasks.JwscTask" > *.
* < classpath > *.
* < path id = "weblogic.classpath" > * "
* < pathelement path = "WEBLOGIC_HOME" / >. *
* < fileset dir = "${weblogic.jar.classpath}" > *.
* < include name = "weblogic.jar" / > *.
* < / fileset > *.
* < / path > *.
* < / classpath > *.
* < / taskdef > *.
* < target name = "all" depends = "clean, build-service" / > *.
* < name target 'clean' = > *.
* < delete dir = "output" / > *.
* < / target > *.
* < name target = 'build-service' > *.
* <!-add jwsc and related tasks here - > *.
* < jwsc srcdir = "" destdir = "wsoutput" > * "
* < jws file = "MyWebService.java" type = "JAXWS" / > * "
* < / jwsc > *.
* < / target > *.
* <!-< target name = "deploy" > - > <! - add wldeploy task here - > <!-< / target >-> *.
* < / project > *.
-----------------------------------------------------------------------------------
I have run the Ant task, but I get this error:
-----------------------------------------------------------------------------------
BuildFile: build.xml
clean:
build service:
[jwsc] TJ: processing module /MyWebService
[jwsc] The analysis of source files
[jwsc] The analysis of source files
[jwsc] 1 TJS files processing for the module /MyWebService
* [jwsc] [JAM] WARNING: could not resolve class MyDataType *.
[jwsc] TJ: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java valid.
[jwsc] Treatment of the web services JAX - WS 1...
* [jwsc] error: couldn't get TypeDeclaration for: MyDataType apt tour: 1 *...
...................
BUILD FAILED
C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
19: weblogic.wsee.tools.WsBuildException: JAX - WS web services processing error
-----------------------------------------------------------------------------------
Please help me solve this problem.
Thank you
MojirI tried to compile your source code and received the same exception.
However after compiling the MyDataType.java before running the jwsc task, I was successfully able to build the service.Please try the ant script below and let me know the result:
*
* *
**
*
<>
srcdir = "${source.dir}" "
DESTDIR = "${Build.dir} '"
keepGenerated = 'true '.
classpath = "${Class.Path} '"
Debug = 'true '.
verbose = "false" >
Thank you
Sandeep -
Problem with the locale and date serialization in java
Hello
I have a serious problem with Flex dates and need a solution as soon as possible. I have a Flex 2 front end that uses remote java objects to talk to the database. I have a Flex 2 DateFields form. The dates of these are stored in the datebase. However I need the dates to be stored exactly as users them selects regardless of the locale.
What is happening at the moment is we are developing in Ireland and in selecting a date, filling an actionscript VO which is in turn transformed into a java VO (on a server in the United States) and when the date is stored in the database is one day before the date that we have selected. It seems that the flash player uses the locale with a time of midnight (GMT) users. When place the conversion to the EAST, it stores the date (GMT - 5), which causes the being Eve.
I changed my flex code to set the date at 12: 00 time even if he converts and subtracts 5 hours it will always be the same date. But this does not work, it seems to work sometimes and not others and is very inconsistent. I can't understand why it works sometimes.
Its makes me mental - someone has experienced this problem or did someone knows a solution PLEASE?
Thank youI'm not very familiar with your specific question, but I wonder if a combination of store dates as the first milliseconds since midnight January 1, 1970, universal time, stored as a string and then when presenting the data are aware, locale would solve the problem.
-
Problem with the creation of date range with PL/SQL WHERE clause
Hello, everyone:
I'm unable to develop and the SQL statement to filter records today and seven days back. My condition is as follows:
I think I'm to mess with the (to_char (ALM_OG_ACTIVITY_DATE, ' mm/dd/yyyy ' ")) statement.from wsualumni.wsu_online_giving_table --where ALM_OG_ACTIVITY_DATE >= ALM_OG_ACTIVITY_DATE - 7 where ALM_OG_ACTIVITY_DATE >= SYSDATE - 7 and ALM_OG_CAMPAIGN_CODE = 'MED' OR ALM_OG_CAMPAIGN_CODE = 'MED1';
The actual code is below to:
Resultsset serveroutput ON SIZE 1000000 set heading off set feedback off set trimspool off set echo off set pagesize 0 DECLARE v_data_line_hdr varchar2(1000); v_data_file varchar2(80); v_sch_code varchar2(10); v_instance_name varchar2(10); ws_path payroll.pybutfl.pybutfl_utl_file_path%TYPE; v_data_line VARCHAR2 (4000) := NULL; fhandle_o UTL_FILE.file_type; v_line_count NUMBER := 0; v_selected_count NUMBER := 0; v_error_count NUMBER := 0; v_written_count NUMBER := 0; v_error_text VARCHAR2 (50) := ' Unable to write the line. '; v_errm VARCHAR2 (255); v_sqlerrm VARCHAR2 (255); CURSOR C1 IS select RTRIM ( ALM_OG_ID ||'|'|| NULL ||'|'|| (to_char(ALM_OG_AMOUNT, '999,999.99')) ||'|'|| 'Cash' ||'|'|| 'Credit Card' ||'|'|| (to_char(ALM_OG_ACTIVITY_DATE, 'mm/dd/yyyy')) ||'|'|| ALM_OG_ACCI_CODE ||'|'|| 'On-Line Giving' ||'|'|| 'On-Line giving' ||'|'|| ALM_OG_HONOR_MEM_NAME ||'|'|| NULL ||'|'|| 'Do not post' ||'|'|| 'StandardThankYou' ||'|'|| 'Not Acknowledged' ||'|'|| 'Do not receipt' ||'|'|| NULL ||'|'|| 'Banner Gift Number' ||'|'|| ALM_OG_BANNER_GIFT_NO ||'.'|| ALM_OG_ACCI_CODE ||'|'|| (to_char(ALM_OG_ACTIVITY_DATE, 'mm/dd/yyyy')) ||'|'|| NULL ||'|'|| 'Web ID' ||'|'|| ALM_OG_WEBID ||'|'|| NULL ||'|'|| 'Source' ||'|'|| ALM_OG_CAMPAIGN_CODE ||'|'|| 'On-Line Giving' ) data_line from wsualumni.wsu_online_giving_table --where ALM_OG_ACTIVITY_DATE >= ALM_OG_ACTIVITY_DATE - 7 where ALM_OG_ACTIVITY_DATE >= SYSDATE - 7 and ALM_OG_CAMPAIGN_CODE = 'MED' OR ALM_OG_CAMPAIGN_CODE = 'MED1'; CURSOR C2 IS select RTRIM( 'ConsID' ||'|'|| 'GFImpID' ||'|'|| 'GFTAmt' ||'|'|| 'GFType' ||'|'|| 'GFPayMeth' ||'|'|| 'GFDate' ||'|'|| 'FundID' ||'|'|| 'CAMPID' ||'|'|| 'GFAppeal' ||'|'|| 'GfRef' ||'|'|| 'GfPostDate' ||'|'|| 'GfPostStatus' ||'|'|| 'GfltrCode' ||'|'|| 'GfAck' ||'|'|| 'GfRcpt' ||'|'|| 'GfAttrlmpID00' ||'|'|| 'GfAttrCat00' ||'|'|| 'GfAttrdesc00' ||'|'|| 'GfAttrDate00' ||'|'|| 'GfAttrlmpD01' ||'|'|| 'GfAttrCat01' ||'|'|| 'GfAttrdesc01' ||'|'|| 'GfAttrlmpID02' ||'|'|| 'GfAttrCat02' ||'|'|| 'GfAttrdesc02' ||'|'|| 'GfSubType' ) line_header from DUAL; /**********************************************************************/ /* Main Program Processing */ /**********************************************************************/ BEGIN DBMS_OUTPUT.put_line ('Program Started in wsualumni.wsu_online_giving_online'); IF UTL_FILE.is_open (fhandle_o) THEN UTL_FILE.fclose (fhandle_o); END IF; /* Name The File Here */ v_data_file := ('MED_SCH_' || TO_CHAR(sysdate, 'dd-MON-yyyy') || '_OG_DATA.txt'); SELECT RTRIM (pybutfl_utl_file_path) INTO ws_path FROM payroll.pybutfl; fhandle_o := UTL_FILE.fopen (ws_path, v_data_file, 'w'); DBMS_OUTPUT.put_line ('UTLFILE file for this run is: ' || ws_path||'/'||v_data_file); v_written_count := 0; FOR c2_rec IN C2 LOOP BEGIN v_selected_count := v_selected_count + 1; v_data_line_hdr := rtrim(c2_rec.line_header); UTL_FILE.put_line (fhandle_o, v_data_line_hdr); v_written_count := v_written_count + 1; EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.put_line (v_error_text); v_error_count := v_error_count + 1; END; END LOOP; FOR c1_rec IN C1 LOOP BEGIN v_selected_count := v_selected_count + 1; v_data_line := rtrim(c1_rec.data_line); UTL_FILE.put_line (fhandle_o, v_data_line); v_written_count := v_written_count + 1; EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.put_line (v_error_text); v_error_count := v_error_count + 1; END; END LOOP; DBMS_OUTPUT.put_line ('Number of Records Selected: ' || v_selected_count); DBMS_OUTPUT.put_line ('Number of Records Written: ' || v_written_count); IF UTL_FILE.is_open (fhandle_o) THEN UTL_FILE.fclose (fhandle_o); END IF; END; /
ConsID|GFImpID|GFTAmt|GFType|GFPayMeth|GFDate|FundID|CAMPID|GFAppeal|GfRef|GfPostDate|GfPostStatus|GfltrCode|GfAck|GfRcpt|GfAttrlmpID00|GfAttrCat00|GfAttrdesc00|GfAttrDate00|GfAttrlmpD01|GfAttrCat01|GfAttrdesc01|GfAttrlmpID02|GfAttrCat02|GfAttrdesc02|GfSubType 000013505|| 20.00|Cash|Credit Card|06/22/2009|221686|On-Line Giving|On-Line giving|||Do not post|StandardThankYou|Not Acknowledged|Do not receipt||Banner Gift Number|1179534.221686|06/22/2009||Web ID|000013505||Source|MED|On-Line Giving 000013505|| 20.00|Cash|Credit Card|06/22/2009|770830|On-Line Giving|On-Line giving|||Do not post|StandardThankYou|Not Acknowledged|Do not receipt||Banner Gift Number|1179534.770830|06/22/2009||Web ID|000013505||Source|MED|On-Line Giving
Hello
The problem is due to the "OR" condition (I did not pay attention to it earlier).
Because of this condition, your query is given beyond 7 days recovery. You need to rewrite the code as:
ALM_OG_CAMPAIGN_CODE in ('MED', 'MED1')
Instead of
and ALM_OG_CAMPAIGN_CODE = 'MED' OR ALM_OG_CAMPAIGN_CODE = 'MED1';
This will do the magic for you.
Concerning
Asif Momen
http://momendba.blogspot.com -
problem with the clock and date
I need to change the time and date when I started windows. so, what's the problem?
It could be the button for the CMOS battery.
A low CMOS battery can sometimes various issues, including slow, locking unexplained performance issues as well as others.
It is quite rare, but the battery is relatively easy to replace, check the manual of your computer/motherboard for replacement details.
Generally, the battery is a watch battery "CR2032", about the size of a nickel.
`~`
The current time and the date now in Baja California, Mexico
07:36Friday, may 3, 2013
DST - 0700 UTCUTC/GMT is 14:36 Friday, may 3, 2013Current weather conditions in San FelipeSunny29 ° C / 85 ° F -
Problem with the display of data in responses
Hello
I need to create reports with the Client name, name of the debtor. A customer has several debtors. While I was querying the database directly, I was able to view the list of debtors to the customers. But in the responses he showed me complete data. He has been restricted to 4 rows.
Reg any idea that!
Thank you
JeromeCheck your data in the tables and the join condition.
-
Hello! I use CS4 on Mac. It worked fine for months. All of a sudden today... I cannot change the type. When I click on the guy, he doesn't show as selected. Yet, she will move on. When I highlight text to edit it... He does not show it as some and it won't be changed. I tried to restart the program, and then the computer. Did not help. Trashing preferences would help? If so, how do I? Thank you.
Julie
You may turn on/off hide edges (Cmd - H)?
-
problem with the vista updates, dates back to December 2008
In December 2008, I had remote access, now have broadband services. have family vista premium with service pack 1, the problem started when I tried to install the December 2008 windows updates. checked all updates essential etc. then let problem execution, not finished, then computer rebooted as it always does, is gone on the screen, then rebooted, saw the windows bar downstairs and then (as would normally go to LOG IN) it went to black screen and then off, the thing windows tried to start and check the disc and other programs of repair but kept saying could not start. Looked at this time comes to say has encountered an unknown error and could not fix, end was to use the F keys as an administrator login and do a system restore to 5 December and then worked well, have run the check disk and defrag and virus scans etc... now, my pc works fine, but I have not installed updates since December 2008, as know that it will happen if I do. However, I want to keep my vista up-to-date. I think that may be corruptions in the updates in a temporary folder somewhere, but don't know where it is. is - it there anyway to remove the files that can be corrupted or is there another solution, looked everywhere for answers in the forums and helpdesk there were several other people in the same question. My computer work fine, but I wonder if I will ever be able to install an update again. I have to be clear that I can run windows update without issue, it lists later and everything but when it's this thing to reboot it goes back to square one as shown above. Something in the updates is messing up my system and even widows classes as unknown error.
Annanimo,
Thank you for visiting the Microsoft Answers community.To test your corrupt file system, run the System File Checker:
To run the System File Checker tool, follow these steps:
Click Start and type cmd in the box start the search.
Right click on cmd in the list programs, and then click Run as administrator.
If you are prompted for an administrator password or a confirmation, type your password or click on continue
At the command prompt, type the following line and press ENTER:
sfc/scannow
When the analysis is complete, test to see if the problem you are experiencing is resolved.Let us know what that discoveries and if we are to advance, support.
Thank you
Gloria
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
Problems with the debugger in Data Modeler Beta DDL Custom Transformation Scripts
Hello
I use Oracle SQL Data model Beta 4.1.0.866.
Currently, I am working on a project to generate the models in PHP for our relational database models MVC framework. Some settings must be entered from the user,
so, I'm importing Java classes for JOptionPane in the Transformation of the customized with DDL Scripts
var ji = new JavaImporter(java.io, java.lang, javax.swing, java.util);
I can use these classes with no problems, but when I want to use the debugger, it cancels the execution with this error message:
Is this a bug or am I missing something here?
And would it not possible and even preferable to processing entirely in Java instead of JavaScript scripts?
Hello
Try it following the syntax:
var ji = new JavaImporter(java.io, java.lang, Packages.javax.swing, java.util);
And would it not possible and even preferable to processing entirely in Java instead of JavaScript scripts?
Well, it's not on the use of JavaScript, it's scripts in Java Platform - JSR 223 https://www.jcp.org/en/jsr/detail?id=223
So if you have a JSR 223 engine of script in the JAVA virtual machine you can use your scripting language. We simply provide a setting where you can put your scripts to do something useful.
We don't know in advance what language will be used. JavaScript engine is included in Java6 and Java7 so this is the reason why our examples are in JavaScript.
Using Java instead of JavaScript don't make the job easier, look at the part of import here - Re: impossible to cast objects in the Script SQL DM 4.0 Transformation
Philippe
Maybe you are looking for
-
If I remove the hard drive from my Mac book will find my Mac still works
One of my buddies and ME are supporting it because im trying to say that if you remove the hard drive of a Macbook, find my Mac no longer works, even if you get a new hard drive and connect it to the Internet. He said, that it only stops working if i
-
I do not have access to my email
When I did my ePrint account I used my email, but now I don't have access to this account and im wondering how I can change it because when I tried to change it, he sent a message on the account, I can't access, and you must confirm that you are to c
-
TouchPad freezes on Satellite L40 - 18Z
Hi all, first Post. I am a former technician of I.T. & worked on computers since 1984, & on laptops since 2001. This topic is mainly about the L40 - 18Z, but 2 other models are mentioned. I met a problem with the TouchPad on a Toshiba L40 - 18Z, (& a
-
In settings, phone, click really fast several times on the android version and something appears, then click on and hold on it and watch what happens.
-
CEP Wreaking Havoc on WIN7 - cannot download anything. EXE files
It started yesterday 07/02/16 when I removed a butterfly of the night-balled HP Mini and it turned on. I had a specific goal in mind for this small and snail - like processor. And he began. The machine had not been on since January 2015. So I sta