Is there a command in sql
hi all,
is there any command in sql like CREATE DIMENSION
Thanks and Regards,
Sri Ram.
Edited by: Sri Ram on 19-Oct-2010 02:46
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_5006.htm#SQLRF01206
Similar Messages
-
Is there any command in SQL or in form6i to view the role of current user?
Hi Friends,
Is there any command in SQL or in form6i to view the role of current user?
Please reply me on urgently basis.
Shahzadselect * from SYS.dba_role_privs where grantee=<USERNAME>
Ensure that you have select privs on above system view.
Cheers........ Bob -
Is there any command in Reports 6i - which is similar to raise form_trigger
Is there any command in Reports 6i - which is similar to raise form_trigger_failure in forms6i.
This might be helpful,
You must raise the exception from within your PL/SQL.
SRW.PROGRAM_ABORT examples
/* Suppose you want to put a border around the salary if it is greater
than 0.
** Suppose, also, that if the report fetches a salary less than 0, you
want to
** raise a customized error message (i.e., "FOUND A NEGATIVE SALARY. .
** then terminate the report execution. To do so, you could write the
** following format trigger for F_SAL.
FUNCTION foo return boolean is
BEGIN
if :sal >= 0 then
srw.attr.mask := SRW.BORDERWIDTH_ATTR;
srw.attr.borderwidth := 1;
srw.set_attr (0, srw.attr);
else
srw.message(100, 'FOUND A NEGATIVE SALARY.
CHECK THE EMP TABLE.');
raise srw.program_abort;
end if;
RETURN (TRUE);
END; -
hi,
could you please tell me is there any command in cvi like
ALTER TABLE table_name{ADD|DROP|MODIFY} column_name {data_ype};
i am getting error like undeclared identifier ALTER.
Thanks & RegardsLook at the SQL toolkit help. You can assemble your command in a string and use the appropriate SQL toolkit function, e.g.
sprintf(sqlstatement,"SELECT * FROM `TESTDATA`.`RESULTS` WHERE ID = '%s' ORDER BY ReadingNo;", UID);
local_report_handle = DBActivateSQL (hdbc,sqlstatement );
Also Search this forum for SQL topics. e.g.http://forums.ni.com/t5/LabWindows-CVI/CVI-database/m-p/2285016#M60668 -
CONNECT and ALTER statements in a Procedure. COPY command in SQL*Plus
Hi people,
Is it possible to use the SQL commands, "CONNECT" and "ALTER TABLE" in a procedure, function or trigger?
In one of my audit procedures, I need to connect to a financial database (FROM the applications database), and then proceed to alter a number of tables based on certain data. I'm sure I've done it before, but I can't remember how! Isn't there a command such as "EXEC_SQL" or something?
Another question:
I need to copy a table from one database ("OPS$TSLIVE") to another ("TRACKER"). Here is an excerpt of my code, as well as an error! I've never had this error before!
JOHANN> copy from ops$tslive/pwd@cds to tracker/pwd@tracker create new_alerts using select * from alertcodesfile;
Array fetch/bind size is 15. (arraysize is 15)
Will commit when done. (copycommit is 0)
Maximum long size is 80. (long is 80)
select * from alertcodesfile
Error in SELECT statement: ORA--1002: Message -1002 not found; product=RDBMS; facility=ORA
Please help!
Kind regards,
Johann.You are refering to 'execute immediate' (>=8i). As far as I know it is not possible to do connects. Alter table perhaps, if it is in the local database (try it). If you want to perform dml in a remote database, create a database link and use that to perform you dml on. a DB link can also be used to call a remote procedure (That perhaps does the alters for you). Try it.
The oracle doc says this about ORA-1002:
ORA-01002 fetch out of sequence
Cause: In a host language program, a FETCH call was issued out of sequence.
A successful parse-and-execute call must be issued before a fetch. This can
occur if an attempt was made to FETCH from an active set after all records have
been fetched. This may be caused by fetching from a SELECT FOR UPDATE
cursor after a commit. A PL/SQL cursor loop implicitly does fetches and may
also cause this error.
Action: Parse and execute a SQL statement before attempting to fetch the data.It looks like a bug, ask Oracle support.
L. -
Is there any command or other way which tells who and when replica got failover or failback to other replica?
RahulBy Monitoring of Availability Groups:
Monitoring of Availability Groups (SQL Server) -
Hi there,
I installed on my computer the Analytic Workspace Manager 11g to manage olap cubes by using this page http://www.oracle.com/technology/products/bi/olap/index.html. It is a very useful tool which really helped me on building and quering tools, but i wasn't able to find any staff about how to do all this at command prompt "sql*plus".
So, I would like to know how i can work with olap using commands at a proper command prompt like sqlplus. To be more specific i need commands which:
1. Define dimensions,levels,hierarchies and cubes at command prompt!
2. Load data on dimension tables and cubes!
Also, could you give me a tutorial which organises all OLAP commands?
Note: If there is no other way but to use the tool i just said, It would be helpful to tell me!All metadata/object creation is via the OLAP API (which is Java) so you can't create dimensions and cubes via SQL Plus. You can, however, manage cube maintenance using the dbms_cube package (which can, of course, be called from SQL Plus). See http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_cube.htm#CFHGDJAA
-
What is the Copy Command in SQL ?
COPY Command is used to COPY database table from one Schema to another Schema.
-
Is there a command line option for VNC to automatically launch in fullscreen mode?
I can launch a VNC window from the command line, as such:
open vnc://username:password@hostname
... but I'd like it to automatically start in full screen mode. Is there a command line option for this?
I'm using an old MacMini purely to connect to another Mac over screen sharing, but when the MacMini boots I'd like it to go straight into the fullscreen of the other desktop.
Many thanks!Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
* http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
See:
* http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
* http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes -
Is there a command to Submit a form from a custom button?
I am going to add a custom button to allow the user to click on the button to Print the form. I have found the example code of how to do this.
My question is as follows:
Is there a command I can add to a custom button to Submit the form after it prints?
I want the submit to be automatic after they print using my custom "Print" button on the form.
Thanks so much,
SusanHere is who you would do this :
1) Import your PDF in FormsCentral
2) Save the Submission Enabled Form from the Distribute Tab
3) Open the PDF in Acrobat XI
4) File > Save a Copy...
5) Open the copy in Acrobat XI
6) Tools > Forms > Edit
7) Find the Submit button on the form right click on it to show the properties dialog
8) Go to the Actions Tab
9) Select "Run a Javascript" and click on the "Edit" button
10) Add the this.print() javascript line to the button's javascript
11) Close the dialog with "OK"
12) Close the property dialog with "Close"
13) Click on "Close For Editing" (top right corner in Acrobat XI)
14) File > Save as Other... > Reader Extended PDF > Enable More Tools (includes form fill-in & save)...
15) Test your form (make sure it submits to FormsCentral without errors)
Hope this helps
Gen -
In GoldenGate, is there a command whose fuction like sqlplus's spool
Hello,
say if I am using ggsci
GGSCI (targetserver) 2> stats rep RHREMD1
it will generate serveral pages output in the screen, is there a command works like spool/spool off in sqlplus, if yes, please teach me?
thank youSaidK wrote:
From linux/unix command line you can use:
echo "stats rep RHREMD1" | ./ggsci
echo "stats rep RHREMD1" | ./ggsci > res.txtThis works in Cygwin (windows) as well. -
Is there a command for setting the selection option to be mandatory
hi,
i have a 4 select-option in my program, and i would set that, either one select option must be fill to execute the program. which mean, at least one field ( any select option) have to be enter, or else it will not run. is there a command to restrict on this?
please help. thanksCheck this sample
TABLES : vbap.
SELECT-OPTIONS : so_vbeln FOR vbap-vbeln,
so_posnr FOR vbap-posnr.
AT SELECTION-SCREEN.
IF NOT so_vbeln[] IS INITIAL OR
NOT so_posnr[] IS INITIAL.
ELSE.
MESSAGE e000(ztest_gopi) WITH 'Atleast one shd be filled'.
ENDIF.
" OR You can do it this way also
TABLES : vbap.
SELECT-OPTIONS : so_vbeln FOR vbap-vbeln,
so_posnr FOR vbap-posnr.
AT SELECTION-SCREEN.
IF so_vbeln[] IS INITIAL AND
so_posnr[] IS INITIAL.
MESSAGE e000(ztest_gopi) WITH 'Atleast one shd be filled'.
ENDIF.
Regards
Gopi -
Hi folks,
I am planning to reinstall OS X 10.6 on my Mac Server. As such I need to collect all the configurations like User Account, User Password, File Sharing... which all are previously setup in the System Preferences.
Instead of writing them down on paper, is there a command which I can execute to dump all these data to a file so that I can refer to them easily?I support Mac OS X Server at some schools, so I run it as a Home Server.
I do not understand your question.
Server is a package of additions that runs with Mac OS X as if it were part of the Operating System (login is not required for Server components to start up). It is not a wildly different Operating System. There is even an Installer package that allows you to ADD the server componets to an already-installed Mac OS X
User information such as Preferences are stored in a /Users/<user_name>.
This does not change after you install Server, but you can move the Users folder elsewhere, or you can move the Users accounts to an Open Directory database. -
Is there a command to sync the end of a region to the playhead or the end of another region?
Is there a command to sync the end of a region to the playhead or the end of another region?
For youtube the code would be something like this:
view-source:calkaweb.herobo.com/video.html
for HTML5 videos for youtube replace &version=3 with &html5=1 in the youtube URL
I have no idea how to impletent the youtube code into Edge tho other than an iframe but that wouldn't work I've tried :
http://forums.adobe.com/thread/1285212
You would need to place all of the youtube codes into edge in order for it to work but I duno how to do that and no1 answered the question in the thread I made about it.
as for MP4/HTML5 video you can use
var video = document.getElementsByTagName('video')[0];
video.onended = function(e) {
/*Do Something*/ -
Dear Guru's,
I have Script of my all the procedure.
After all procedure gets execute, As a output it create .csv files.
This .csv files i manually copy past on one of my directory.
For avoiding this manual copy past i want to use xcopy command from sql itself.
Please guide me how do i do this.
Regards,
Chanchal wankhade.CHACHA wrote:
I have Script of my all the procedure.
After all procedure gets execute, As a output it create .csv files.
This .csv files i manually copy past on one of my directory.
For avoiding this manual copy past i want to use xcopy command from sql itself.
Please guide me how do i do this.Do not like the sound of the architecture you are using for this. Scripts? Scripts for Oracle should be limited to installing s/w.
Writing any kind of Oracle application using scripts, is questionable ito design, robustness, flexibility, security and so on.
Wanting to use console commands from a SQL cursor? That sounds even more broken and wrong. If you want to do o/s calls, it should be done carefully and securely from PL/SQL code.
And PL/SQL code should be inside the database - not outside in some script.
As for copying files. Realise that SQL and PL/SQL code executes on the server inside an Oracle server process. This does not have access to your client's file system and directories.
Maybe you are looking for
-
Playlists no longer exist?
Although I have been frequently updating my Nano, when I attached the USB, it wiped off all the songs from my ipod. A pop up display reads: "Songs on the Ipod can not be updated because all of the playlists selected for updating no longer exist" I ca
-
Pages 5.0.1 documents are banned from transmission with gmail. Why?
First time this has happened to me with an Apple document. Pages 5.0.1 documents cannot be attached to an email using gmail. Gmail claims it is a banned document for virus worries. Can Apple please register their new Pages with those in charge so
-
No luck trying to capture vinyl albums
I'm trying to figure out what I'm doing wrong when using Soundbooth to capture audio from vinyl albums. I'm using a turntable that's connected to a receiver. I've got RCA jacks connected to the receiver's tape playback plugs with the other end connec
-
How to Create Myself System?
Hi, We are using BW 3.5 system and have an infosource that loads its data from itself. So we need to establish Myself Source System. But in rsa1 trx, our source system is set as a Datamart, which is supposed to be "Myself System". How do we change ou
-
I feel like such a noob!!
Hello All. I'm having some problems I can't seem to get around. 1) I made some slide shows in FotoMagico and wrote them out to DV movie and then imported into DVDSP, when I simulate the menu they look not to bad but the lines are moving all over the