SQLcl: Release 4.2.0.15.257.0801 - ansiconsole unwanted formatting
Hello
When I put ansiconsole my keys that are NUMBER (19) are formatted with commas as 10,934,534 instead of just 10934534 of grouping.
Is there a way to disable the formatting?
My login.sql is
set sqlformat ansiconsole ALTER SESSION SET NLS_TIMESTAMP_FORMAT = 'YYYY-MM-DD HH24:MI:SS' ALTER SESSION SET NLS_NUMERIC_CHARACTERS = '.'
However, the 3rd line is not valid.
Any tips?
Best,
Anders
not yet, but will happen
Tags: Database
Similar Questions
-
{We (Release)}
keyboardroller.nextFrame ();
}
-------------
I use this code for a button and a code that is the same but with ' prevFrame(): "to a different button. It works when I single it out on his own FLA, but when I put it in an another FLA that has another mc, it controls not mc mcs I intanced as 'keyboardroller '. I think I could do the key in a MC and I have an onclip event but I need to adjust the button because I have a lot of them and do not want to update all my buttons.
I changed some code, now when I drop the buttons with the film instantiated in another Florida... buttons simply cannot do anything. But by itself in its own FLA works very well.
I've never heard or tried the approach of the folder mentioned your friend, if you can try it if you're willing to chance the consequences... try it on a smaller scale experimental with files created only for this purpose.
If you know ahead you will be merging content of a fla in another, name objects in your library so that it will not be such a conflict. Alternatively you can rename the library symbols in one of the files so that there is no detected duplicates.
-
sqlcl 4.1.0.15.106.1020 tnsping throws NULLPointerException
While playing with sqlcl 4.1.0.15.106.1020, I can reproduce this behavior:
berx$ ./sql /nolog SQLcl: Release 4.1.0 Release Candidate on Thu Apr 16 22:05:22 2015 Copyright (c) 1982, 2015, Oracle. All rights reserved. SQL> tnsping Apr 16, 2015 10:05:27 PM oracle.dbtools.raptor.newscriptrunner.ScriptExecutor run SEVERE: oracle.dbtools.raptor.newscriptrunner.commands.PingCmd.ping(PingCmd.java:69) java.lang.NullPointerException at oracle.dbtools.raptor.newscriptrunner.commands.PingCmd.ping(PingCmd.java:69) at oracle.dbtools.raptor.newscriptrunner.commands.PingCmd.handleEvent(PingCmd.java:53) at oracle.dbtools.raptor.newscriptrunner.CommandRegistry.fireListeners(CommandRegistry.java:380) at oracle.dbtools.raptor.newscriptrunner.ScriptRunner.run(ScriptRunner.java:197) at oracle.dbtools.raptor.newscriptrunner.ScriptExecutor.run(ScriptExecutor.java:269) at oracle.dbtools.raptor.newscriptrunner.ScriptExecutor.run(ScriptExecutor.java:180) at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.process(SqlCli.java:250) at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.processLine(SqlCli.java:257) at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.startSQLPlus(SqlCli.java:682) at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(SqlCli.java:297) SQL>
probably should say "you want to do a ping?"
My approx. is a MacBook with OSX 10.10.3
java -version java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b25) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Yes, it's a bug
-
SQLCL - retrieves different number of lines based on the style of SQL
SQLcl: Release 4.1.0 Release Candidate on Tue Jul 14 10:24:05 2015 Copyright (c) 1982, 2015, Oracle. All rights reserved.
I need spool on CSV for 2 SQL statements for a thorough comparison. So, my appearance of SQL statements like this,
set sqlformat csv set trimspool on spool file1.csv select blah blah blah from some_table; spool off
Second SQL looks like this,
set sqlformat csv set trimspool on spool file1.csv with s1 as (sql_statement) ,s2 as (sql_Statement) select blah blah from table join s1 ... join s2 ... ; spool off
the two SQLs are stored in individual files, when I run the first sql, it reads 4400 + lines as expected and generates a CSV. When I run the second SQL (which uses WITH clause), it gets only 50 lines and stops.
Ideas or reasons for this? The second SQL is also expected to extract about 4400 lines, it's the sql developer and I can export in csv, but wait sqlcl behaves well. I guess it I'm missing something here, can someone point me to the error?
TIA
REDA
I think I understand the problem, it was a classic user error. Sorry everyone, I have an obscure where clause that I completely missed. Once removed, it worked flawlessly.
REDA
-
14.3 TMS E-mail templates
Can anyone confirm which model of electronic mail is sent to the user who books a meeting? The most obvious one is now marked as LEGACY. I don't know if this means that it is no longer used.
Basically, I want to be able get out ot the hyperlink to the server at the bottom of the email and change the field address video.
THX,
RF
Hello ft. -
E-mail OLD models are no longer used since TMS version 14.2, see details in the notes.
TMS 14.2 onward, the models that are used to send emails is 'Booking guest', which uses our TMS. However, as mentioned in the release notes, if you don't like the new format of the TMS emails, LEGACY models are backward compatiable with the new models, then you can copy and paste information from them to the model invite booking. See the release notes for more details.
I hope this helps.
-
Hi all
I was going to just through the join method documentation 11 g and it was good until I had to play with plenty of outer joins and when I run a simple query in 10 g I get a different plan
I simply ran the following query
<>format
Select
/*+
gather_plan_statistics
*/
e.first_name | ' ' || Select full_name
d.department_name
Of
e employees
full outer join
departments d
on
e.department_id = d.department_id
;
Select * from table (dbms_xplan.display_cursor (null, null, 'allstats')) last;
< / size >
and the release of 10g, I got is as follows
<>format
--------------------------------------------------------------------------------------------------------------
| ID | Operation | Name | Begins | E - lines. A - lines. A - time | Pads |
--------------------------------------------------------------------------------------------------------------
| 1. VIEW | | 1. 124. 123 | 00:00:00.01 | 262.
| 2. UNION-ALL | | 1. | 123 | 00:00:00.01 | 262.
| 3. NESTED EXTERNAL LOOPS | | 1. 107. 107. 00:00:00.01 | 227.
| 4. TABLE ACCESS FULL | EMPLOYEES | 1. 107. 107. 00:00:00.01 | 15.
| 5. TABLE ACCESS BY INDEX ROWID | DEPARTMENTS | 107. 1. 106. 00:00:00.01 | 212.
|* 6 | INDEX UNIQUE SCAN | DEPT_ID_PK | 107. 1. 106. 00:00:00.01 | 106.
| 7. ANTI NESTED LOOPS. | 1. 17. 16. 00:00:00.01 | 35.
| 8. TABLE ACCESS FULL | DEPARTMENTS | 1. 27. 27. 00:00:00.01 | 8.
|* 9 | INDEX RANGE SCAN | EMP_DEPARTMENT_IX | 27. 41. 11. 00:00:00.01 | 27.
--------------------------------------------------------------------------------------------------------------
Information of predicates (identified by the operation identity card):
---------------------------------------------------
6 - access("E".") DEPARTMENT_ID "=" D ". ("" DEPARTMENT_ID ")
9 - access("E".") DEPARTMENT_ID "=" D ". ("" DEPARTMENT_ID ")
< / size >
I was expecting what was in the documentation, but it is very very different and then I tried the same performance in 12 c in I had the plan that is mentioned in the documentation
<>format
-------------------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
-------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | | | 6 (100) | |
| 1. VIEW | VW_FOJ_0 | 118. 5074 | 6 (0). 00:00:01 |
|* 2 | EXTERNAL FULL HASH JOIN | | 118. 8142 | 6 (0). 00:00:01 |
| 3. TABLE ACCESS FULL | DEPARTMENTS | 27. 810. 3 (0) | 00:00:01 |
| 4. TABLE ACCESS FULL | EMPLOYEES | 98. 3822 | 3 (0) | 00:00:01 |
-------------------------------------------------------------------------------------
Information of predicates (identified by the operation identity card):
---------------------------------------------------
2 - access("E".") DEPARTMENT_ID "=" D ". ("" DEPARTMENT_ID ")
< / size >
Can someone explain what could be wrong with my 10g instance.
10g is on Linux 64 bit and I connect to sqlplus from windows XP and on that I did not collect his stats now I think they are in place but they are not mentioned in the implementation plan
12 c is on windows 7 64 and I connect from the same machine, here I create cool tables and not seen any stats and it says in the statistical dynamic execution plan used
Kind regards
Jagdeep Seven
You can confirm with the query below.
Run as user SYS
If no back lines, I think that this parameter may used above 10.2.0.4.
Select the name of ksppinm,
value of ksppstvl
ksppstdf is_default,
Decode (BITAND(ksppiflg/256,1), 1, "true", "false") ses_modifiable,.
Decode (bitand(ksppiflg/65536,3), 1)
'immediate', 2,
"deferred", 3,
sys_modifiable "immediate", "false"),
ksppdesc description
of sys.x$ ksppi i, sys.x$ ksppcv v
where i.indx = v.indx
and i.ksppinm like '% _optimizer_native_full_outer_join % ';
NAME VALUE IS_DEFAULT SES_MODIFIABLE SYS_MODIFIABLE DESCRIPTION _optimizer_native_full_outer_join FORCE TRUE true immediate running a full outer join by using the native implementation Cordially Bono
-
Apple artist left behind years ago. Why these new mobile applications are only available in ios? I use a Tablet much more sophisticated than your dad's iPad. My Samsung Galaxy Note 10.1 has more than 1000 points of pressure sensitivity and was built with Wacom technology for the artist, but first artist programs don't release them these mobile applications to the apple app format?
Even the Evangelist using windows based operating systems in 90% of the videos I watch on; line of Adobe, so why are still claim us Apple is the only platform that is important, leaving many serious artists out in the cold? Download these apps on the store of Google game as soon as POSSIBLE, please.
Not sure if you saw thisblog post of April where we announced to come for some of our mobile applications on Android. Since this blog, we have published CC color, shape CC, CC of the brush and Photoshop Mix for Android. We are also currently working on an Android version of the draw by lot and if you want to help us beta test it now, please join the community app Android Adobe here.
Thank you
Will be
Product Manager
-
XMLELEMENT and decimal numbers
Hello members,
I just encountered a problem, indicating that XMLELEMENT depends on NLS parameters.
This kind of surprises me, especially since according to the DB 10 g Release 2 XML Developer's Guide (10.2), the W3C standards are in the spotlight since 10gr 2:SQL> alter session set nls_numeric_characters = ',.' 2 / Session altered. SQL> select xmlelement("x",1.23) from dual 2 / XMLELEMENT("X",1.23) ----------------------------------------------------------------- <x>1,23</x> SQL> alter session set nls_numeric_characters= '.,' 2 / Session altered. SQL> select xmlelement("x",1.23) from dual 2 / XMLELEMENT("X",1.23) ----------------------------------------------------------------- <x>1.23</x> SQL> select *from v$version 2 / BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi PL/SQL Release 10.2.0.3.0 - Production CORE 10.2.0.3.0 Production TNS for Linux: Version 10.2.0.3.0 - Production NLSRTL Version 10.2.0.3.0 - Production SQL>
http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14259/xdb13gen.htm#i1028612
The XML schema standard specifies that the dates and timestamps in the XML are in standard formats.
if anyone can confirm, perhaps even explain above behavior?
Generation of XML in Oracle XML DB functions produce dates XML and timestamps in accordance with this standard.
In earlier versions of Oracle Database 10 g Release 2, the parameters of database date and timestamp formats were used for XML, instead of the standard formats of XML schema.
You can reproduce this behavior by setting the database event 19119, level 0 x 8, as follows:
-Maybe I'm just deceiving myself, somehow?
Sorry to ask, but I tried to search (a little) for an answer ;)
Best regards
PeterPeter Gjelstrup wrote:
I just encountered a problem, indicating that XMLELEMENT depends on NLS parameters.
And what else did you expect? Have you read the docs on XMLELEMENT? Value_expr parameter is a string. You pass a number. That's why Oracle implicitly converts to a string. And of course, it uses nls_numeric_characters for this.
SY.
-
Alternatives to a PIPELINED table function
I'm writing a piece of code that display student attendance from Monday to Friday for a given date. I provide the code with the date, it determines the dates for the Monday, Tuesday... Friday of the week and then determines the days during the week the student was or was not present. My data includes two tables:
Students
-----------
number of student_id,
first name varchar2,
last_name varchar2,
number of campus_id
Attendance
-------------
number of student_id,
date of date_of_attendance
I would like for the release of the tables to be in the following format:
student_id name | last_name Mon Mar sea game Fri
-------------------------------------------------------------------------------
123456 x 0 1 0 1 1
163452 Unetelle 1 1 1 1 1
1 is if there is a record in the table of attendance for the student that day and 0 is it does not exist.
I tried to do this using a function table in pipeline. Whenever I run the query, I get the following error:
ORA-06552: PL/SQL: analysis of completed Compilation unit
ORA-06553: PLS-801: internal error [hshuid: READ invalid]
06552 00000 - "PL/SQL: %s.
* Cause:
* Action:
Error on line: column 14:12
I'm using Oracle 10gXE and according to support notes 559786.1 it "should" be due to a bug which follows from the definition of type, including a reserved word. I checked and I have all these words in my definition of type. I tried to run the same code in an 11g database and it worked. Unfortunately using 11 g is not an option for this task.
Anyone can suggest that another way to achieve this?You can use a function table.
See the "Concepts of function Table" section of the RFSO: http://docs.oracle.com/cd/B19306_01/appdev.102/b14289/dcitblfns.htm
It shows a simple example. You can change your service (remove PIPELINED) to return a collection in bulk or can return the ref cursor).
-
I started just by using my Nikon D7000 and found that the last camera raw plugin for CS5 does not support the raw format the D7000. I forgot something? Is there a work around? Does anyone know if Adobe is going to release a new plugin soon that supports the new format?
Thank you.
If you have visited the frum Camera Raw you'd learn there's a Camera Raw 6.3RC that will support this camera... available at www.labs.adobe.com.
-
What is the difference between printing a PDF file and edit a PDF file. I know that if a printed and published one is combined the links become screwed up in the document. Is there a difference between the two?
My 'take' on this subject
'Print' - digital content ends like a fingerprint on a sort of paper.
'Release' - digital content is reassigned to a different file format.
"Released" files PDF can be provided through the use of the printer Adobe to get a simple PDF (no ' extras', any content of the page) or via an interface between an application and distill (as PDFMaker or FrameMaker interface or InDesign) which translates into robust PDF.
Be well...
-
Csv output SQLCL differs from output csv SQLPLUS
Hello
I try to replace my script sqlplus generating a csv file.
with a new one generated by sqlcl because sqlcl seem to handle it "natively".
However, I have several problems, it's not so easy... (it is not possible, in fact, as a replacement for sqlplus by sqlcl to generate a csv file)
There are several differences with the release made with my script in sqlplus. Let me explain
NB: Please note I'm french therefore:
* default csv separator is; (but I could accept this separator is)
* decimal separator is ",".
Script from SQLplus
trigger the echo
Set feedback off
fixed term off
set point
Go head
the Embedded value on
set pagesize 0
break off Set
NEWP NONE Set
set SPACE 0
TAB SET OFF
recsep off Set
left the underline
COLUMN of resource_type FORMAT A10 COLUMN TYPEE
ALTER session set nls_date_format = "dd/mm/yyyy";
ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ",";
set LINESIZE 30000
Set trimspool on
Coil test.csv
SELECT "'sysdate';'" COL1 "; "" COL2 "; "" LENGTH "' double.
SELECT
'"' || SYSDATE | « « ; » »
'"' || trunc (sysdate) | « « ; » »
|| To_char (sysdate, ' DD/MM/YYYY HH24:MI:SS'). « « ; » »
|| RM. LENGTH | '"'
Of
TABLE RM
WHERE
RM. CODE = "ABCD";
spool off
output
SQLCL script
trigger the echo
Set feedback off
fixed term off
set point
break off Set
Set trimspool on
Set sqlformat csv
Coil test2.csv
SELECT
SYSDATE,
trunc (sysdate),
To_char (sysdate, ' DD/MM/YYYY HH24:MI:SS'),
RM. LENGTH
Of
TABLE RM
WHERE
RM. COL = 'ABCD '.
;
spool off
output
SQLplus output CSV (and the result is correct)
"sysdate"; "' COL1 '; "" COL2 "; "" LENGTH ".
"11/05/2015"; 11/05/2015; "11/05/2015-11:11:27 '; "6.07"
SQLCL CSV output
< blank line >
"SYSDATE", "TRUNC (SYSDATE)", "TO_CHAR (SYSDATE," DD/MM/YYYY HH24:MI:SS) ',' LENGTH' "
05/11/15 11:12:12, 000000000, 05/11/15 00:00:00000000000, ' 11/05/2015 11:12:12 ', 6,07
--------
You can see in the output of SQL CL
* an empty line first (?)
* the fields sysdate is followed, 0000000, which breaks the structure of the csv file. Don't know why this is displayed.
* value sysdate is fine (date + hour) in sqlcl, trunc (sysdate) should not display the time (minor)
* in sqlplus then I've not used instructions ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ",".
digital data are 6.07 (whereas it should be 6.07, and default sqlplus output. (In sqlplus to 6.07, I need to put the NLS_NUMERIC statement above))
* in sqlplus, only char data are placed in square brackets. In my case it would be necessary to have each data attached to make sure that imposing CSV is safe.
If too many problems, I can't currently use sqlcl to generate a csv result...
Don (don't know if this is the place to talk about SQL imporvement, , but it would be great if the sqlcl could be improved: )
* the date of issue (000000) would be fixed (unless there is a solution?)
* Digital output default must be with '.'. And after having the opportunity to change the decimal separator, as in SQLPLUS
* We wouldn't abilty to choose whether the data should be included or not in the media (even for digital data / date)
* We would be able to change the csv separator
* no first blank line ould generated (minor)
Thanks for any suggestions you could provide, because at the moment, I can't use sqlcl to the output in csv format, although it has very promising output features
> We are working on support for that now.
What I wanted, it was, it does not work in the latest version available, but work soon.
-
4.1 ai2 SQLcl: Y at - it a system variable corresponding to SQL * more ' EDITFILE
There is a system for SQL variable * more called EDITFILE.
Here is an example of this definition (from my login.sql script):
SET EDITFILE "U:\sql\sqlplus\temp.sql."
With SQLcl, what is the corresponding system variable (or don't that there is)?
Here are the ones I see:
Scott@ERPEN2 > view all
AppInfo is DISABLED and the value "SQLcl.
ARRAYSIZE 15
autocommit OFF
AutoPrint OFF
OFF autoTrace
Subtitles OFF
COLSEP ""
copycommit 0
define '& '.
ECHO OFF
escape to OFF
Your COMMENTS on 6 or more lines
topic ON
headsep «|» (hex 7 c)
linesize 80
80 long
longchunksize 80
null «»
formatnum «»
numLargeur 10
PageSize 9999
PAUSE is DISABLED
1102000300 release
Scan IT
SERVEROUTPUT ON SIZE 1000000
space ""
WE reel
SQLCODE 0
sqlprompt "" SCOTT@ERPEN2 > "".
suffix "sql".
termout ON
FREE time
Timing OFF
OFF trimout
trimspool OFF
OFF TTitle
The USER is 'SCOTT '.
check IT
Wrap: lines will be wrapped
Show/set editfile currently not taken in charge. But do you know the new feature alias ? For example, if you enter on the command line,
alias edt = edit U:\sql\sqlplus\temp.sql
then edt will edit your temp.sql and Edit will change the usual default value of the afiedt.buf.
-
And also how many sounds do I get with the Logic Pro 10.
Is more than Garageband? If yes then how much more?
Hello
If you buy LPX now, and Apple should release LP11, you will probably have to buy it again (like us all).
Regarding your other questions, A) Yes, B) charges
These links should help provide the answers
http://www.Apple.com/Mac/GarageBand/
http://www.Apple.com/Logic-Pro/
http://www.Apple.com/Logic-Pro/specs/
TDC
-
Release notes for Mac OS Sierra
I have searched all over the Apple site and cannot find the release notes for Sierra. I'm trying to find the official word of what are known issues with Aperture, thanks!
Dudeman
You can read about some of the issues of first-hand in the following link:
Opening 3.6 will work in Mac OS Sierra?
That said, I doubt that Apple could go to the trouble of listing issues with a product that they have abandoned some years ago and no longer support.
Maybe you are looking for
-
I want to put my blocker exceptions during installation. How this is done?
I need to deploy FireFox 10.0.2 in my environment. An important requirement is to have exceptions Blocker is set during installation. I know that these settings are stored in the file permissions.sqlite. Is it possible to configure this file with my
-
Management communication series through liaison camera card
I have a card OR cameralink and want to handle the integration of a camera time using the controls of the camera series. Is it possible to place orders of series using other software like MatLab (heresy I know)...
-
I have an application that works the way I want it, now I want to use it as a starting point for another application. What is the best way to clone the project and use it as the basis for another?
-
I would like to create some fields to display in a vertical list, so that when the user clicks on a field, it starts a new screen. I know that this can be achieved with the fieldChangeListener. I would however like to each field contains some text an
-
How the F & CK do cancel my subscription with this crap from Adobe?