Is it possible to automate the extraction using spool command?
Hi,
I am trying to export data from table to excel. But the result i am getting will be in million records. Till now i am manually extracting the data using plsql developer. but it is hampering my work alot when i am extracting.
i am able to extract the data using below spool command in sqlplus
set feed off markup html on spool on
spool 'd:\filename.xls'
select * from ca_trial_milestones;
spool off
set markup html off spool off
But is it possible to run it in sql/plsql developer and schedule it on night time.
U r replies will help me alot.
Thanks alot in advance
981145 wrote:
Hi,
I am trying to export data from table to excel. But the result i am getting will be in million records. Till now i am manually extracting the data using plsql developer. but it is hampering my work alot when i am extracting.
i am able to extract the data using below spool command in sqlplus
set feed off markup html on spool on
spool 'd:\filename.xls'
select * from ca_trial_milestones;
spool off
set markup html off spool off
But is it possible to run it in sql/plsql developer and schedule it on night time.
U r replies will help me alot.
Thanks alot in advanceYou can create a batch file in window and then setting appropriate environment setting you can do
sqlplus user/pass@connect @scriptnamewhere scriptname is you above script.
You can then schedule this in windows schduler
However excel can not handle more than 1,048,576 rown as of version 2010
You can save the spool as html file and you will able to view the resultset.
Similar Messages
-
Is it possible to Automate the Workbook using Reporting Agent??
Hi Guru's,
Can any one explain how to automate an Workbook that run weekly once?
Please give me the steps or any document related to this.
I have some Reporting Agent documents but i never worked on RA before.
Please suggest me with best method and solution if possible.
Will assign full points to the solution.
Thanks in advance.
BH
Message was edited by:
Varma Bhas of my understanding, you can't automate workbook. if you know the solution, please update.
thanks,
vsn -
Is it possible to automate the process...?
Dear members!
Is it possible to automate the process of subtitling? For example if I have MS Word file with the following table:
Starting Timecode
Ending Timecode
Language of Original
Local Language
0001
00:00:06:00
00:00:06:01
0002
00:01:10:18
00:01:12:02
0003
0004
Is there any way to put that file on timeline in Premiere to superimpose subtitles with dialogues (for example) of Original Language? Can anyone give me step-by-step instruction on how to do that? I can edit text file in MS Word and delete unneeded column. Manual making of a few thousand titles is so boring!
As a result I have to export AVI file with superimposed subtitles on screen.
Thanx in advance to everybody!I believe that using After Effects is a lot easier because you can change the source text with keyframes.
Take a look at this thread and watch the tutorial I did to demonstrate this.
http://forums.adobe.com/message/4770932#4770932 -
Is it possible to read the file using File Adapter which is in client machi
Is it possible to read the file using file Adapter which is in client machine(on the same network).Then what is thee need of FTP Adapter?
You can achieve that by exposing your client machine as a drive, then you can go using file adapter.
FTP adapter will help you to communicate with different machine which is in different network.
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
Thanks,
Vijay -
Is it possible to automate the command enabling?
Is it possible to automate the command enabling in acrobat 9 through SDK.
If so kindly advice me.Hi Pradubass,
By "command enabling" I assume you mean the usage rights for commenting, saving, etc in the free Adobe Reader? No, there is no way to automate that process via JavaScript. Adobe sells a server product that does that called Adobe LiveCycle Reader Extension Server ES.
Hope this helps,
Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com -
My Ipad2 was stolen about a month ago. I still have the serial number on the box. Is it possible to trace the one using my Ipad2?
No.
These links may be helpful.
How to Track and Report Stolen iPad
http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
Reporting a lost or stolen Apple product
http://support.apple.com/kb/ht2526
Report Stolen iPad Tips and iPad Theft Prevention
http://www.stolen-property.com/report-stolen-ipad.php
How to recover a lost or stolen iPad
http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
How to Find a Stolen iPad
http://www.ehow.com/how_7586429_stolen-ipad.html
Apple Product Lost or Stolen
http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
Oops! iForgot My New iPad On the Plane; Now What?
http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
How to Find Your iPad Serial Number
http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
Cheers, Tom -
How to delete the items in the recycle bin permanently from the windows using Diruse command
How to delete the items in the recycle bin permanently from the windows using Diruse command.
Because most of the time we get out of disk space issues.
Can somebody help me in giving with an exampleYou can right-click Recycle Bin|Properties and choose radio button for
Don't move files ....
This one may also help.
http://technet.microsoft.com/en-us/library/cc784980(v=ws.10).aspx
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Preserve a single space at the end of line using spool command
Hi,
Can you please help me to write the result of an sql query into a file with the last column of the row ending with a single space?
For example:
COL1DATA|COL2DATA|COL3DATA<space1>
As mentioned in the example the col3 value in the file should end with a single space. And there should not be any delimiters at the end of the row.
I tried with set trimspool on/off. But, it didn't work. When I say trimspool on - it is trimming all the trailing spaces.
When I say trimspool off - it is retaining all the trailing spaces to the size of the line.
But, I do not wish to modify the file through shell commands once it is written thru spool. I mean I do not wish to append spaces to the end of a line using shell script or any other method.
I do not wish to use other methods like UTL_FILE also.
Please help me how to do it using spool command?
Thank you.
RamanaMy requirement is that all the trailing spaces should be truncated except the last one in the row.Why?
As you have discovered a single column in sqlplus, is always a fixed length regardless of the size of the data, if the length of the data varies the output is padded to the maximum or line size with spaces. The trim and trimpsool commands are there to remove all the spaces from the end of a line if there are any. There are no commands to trim all the spaces except one, or even to trim all the spaces except two, or three even.
If you want such custom processing you should post process the file in the OS using sed, awk or perl or something designed for such things. -
How to access the mysql using ordinary command line in Azure Website?
Hi
I deploying Django project on Azure. I created project and MySQL db according this method: https://pytools.codeplex.com/wikipage?title=PollsDjangoSql . I can create tables using django command "syncdb" in Visual Studio. I see
db structure in SQL Explorer. All works. But now I need to get access directly to mysql. For example with a view to set encoding of some column, or set permissions, change user password, etc.
I found about many different tools and methods in Microsoft portal. But the purpose of these tools, how to install it and how to use it is a very entangled (After several attempts to find out what's what two weeks later I found on my computer
three dozen programs with unknown purpose. I doubt that I need to install so many tools to just add the user in mysql).
How to access the mysql using ordinary command line (or the same simple tool) in my case?Hi pvgdrk,
To get access directly to a mysql database, you can use the commandline tool(open a cmd window-->type mysql the commadline ) or the
GUI MySQL workbench.
Since this is a question about MySQL, I would suggest you post your question in a dedicated MySQL forum. You will get more prompt response.
If you have any feedback on our support, please click
here.
Eric Zhang
TechNet Community Support -
Is it possible to automate the load of setup tables for LIS datasources?
Hello,
For LIS datasources, eg. 04 (shop floor control), once the production confirmation is done, we have to manually run the transaction OLI4BW to load the setup tables before extracting data to BW. Is there a way to automate the load of setup tables?
Regards,
SurajHi,
Yes we can !
Create variants for small ranges and scheduled all of them at a time. So that, loading will be completed soon.
Thanks,
Saru -
Is it possible to automate the times that certain Mail accounts are online?
I have two personal email accounts that I'd like to have active at all times, but I have a third email account that I only wish to be online/receiving emails during my usual business hours. I know that I can select for individual accounts to be offline/online, but is it possible to automate this?
randers4,
THANKS! But, I'm not using EXCHANGE. My web site and e-mail are hosted on Google-based servers using POP3.
Thanks!
Rampager83 -
Is it possible to get the Button used in a JComboBox?
As i can retrieve the editor of a JComboBox to make change to its editor i want to know if its possible to do the same to the Button of the JComboBox any ideas?
Thanksi want to know if its possible to do the same to the Button of the JComboBox any ideas?I'm sure people in the Swing forum would know, but since you refuse to post your questions there, good luck.
By the way each LAF has its own button.
why does this method in JComboBox act wired it returns false irrespectively of the condition of the Popup. Maybe if you actually posted you SSCCE in the Swing forum you would get some help.
We are know up to 9 times you have been asked to post in the correct forum.
It has now become obvious you never search so I doubt you will be getting help in the future. -
Is possible to import the TR using TP.EXE with local system user
Hi ,
Currently I am trying to import the TR using the TP.exe. Could please let me know is mandatory to use <SID>adm user. If yes could please let me know the procedures.
Because I try with local user but it was failed. Even though I set same environment variable (Both User and System).
Regards,
VivekHi ,
Please find the log below
I am using the correct commend. if i try in SIDADM user it working fine.when i try with local user is not working.So i was confused.
This is tp version 372.04.40 (release 701, unicode enabled)
TRACE-INFO: 1: [dev trc ,00000] Thu May 12 00:09:50 2011 1042 0.001042
TRACE-INFO: 2: [dev trc ,00000] load shared library (dbsdbslib.dll), hdl 0, addr 0000000186C80000
TRACE-INFO: 3: 5 0.001047
TRACE-INFO: 4: [dev trc ,00000] using "E:\usr\sap\EC6\SYS\exe\uc\NTAMD64\dbsdbslib.dll"
TRACE-INFO: 5: 5 0.001052
TRACE-INFO: 6: [dev trc ,00000] } DbSlSdbControl(rc=0) 81 0.001133
TRACE-INFO: 7: [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=39,arg_p=0000000000000000)
TRACE-INFO: 8: 8 0.001141
TRACE-INFO: 9: [dev trc ,00000] } DbSlSdbControl(rc=0) 8 0.001149
TRACE-INFO: 10: [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=10,arg_p=000000000202EBE0)
TRACE-INFO: 11: 8 0.001157
TRACE-INFO: 12: [dev trc ,00000] } DbSlSdbControl(rc=0) 4 0.001161
TRACE-INFO: 13: [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=10,arg_p=0000000140E5A1E8)
TRACE-INFO: 14: 15 0.001176
TRACE-INFO: 15: [dev trc ,00000] } DbSlSdbControl(rc=0) 5 0.001181
TRACE-INFO: 16: [dev trc ,00000] { DbSlSdbConnect(con_info_p=0000000000000000) 18 0.001199
TRACE-INFO: 17: [dev trc ,00000] DBSDBSLIB : version 700.08, patch 0.024 (Make PL 0.32) 18 0.001217
TRACE-INFO: 18: [dev trc ,00000] MAXDB shared library (dbsdbslib) patchlevels (last 10) 7 0.001224
TRACE-INFO: 19: [dev trc ,00000] (0.024) Default value for max. input variables is 2000 (note 655018)
TRACE-INFO: 20: 9 0.001233
TRACE-INFO: 21: [dev trc ,00000] (0.024) Profile parameter to define max. input variables (note 655018)
TRACE-INFO: 22: 9 0.001242
TRACE-INFO: 23: [dev trc ,00000] (0.024) Switch SQLMODE after CREATE INDEX SERIAL (note 1267841)
TRACE-INFO: 24: 8 0.001250
TRACE-INFO: 25: [dev trc ,00000] (0.024) Input parameters for SQL statements increased (note 655018)
TRACE-INFO: 26: 7 0.001257
TRACE-INFO: 27: [dev trc ,00000] (0.018) Create index serial for MaxDB 7.6 (note 1267841)
TRACE-INFO: 28: 8 0.001265
TRACE-INFO: 29: [dev trc ,00000] (0.018) More trace in case of packed to string conversion error (note 1262799)
TRACE-INFO: 30: 13 0.001278
TRACE-INFO: 31: [dev trc ,00000] (0.016) R3trans export aborts with signal 6 (note 1262245)
TRACE-INFO: 32: 7 0.001285
TRACE-INFO: 33: [dev trc ,00000] (0.009) IA64 alignment errors (note 1245982) 7 0.001292
TRACE-INFO: 34: [dev trc ,00000] (0.007) Support DB-Type 'SAP DB' by UPDSTAT (note 1225668)
TRACE-INFO: 35: 7 0.001299
TRACE-INFO: 36: [dev trc ,00000] 4 0.001303
TRACE-INFO: 37: [dev trc ,00000] -> init() 6 0.001309
TRACE-INFO: 38: [dev trc ,00000] -> sdb_malloc(size=18) : 0000000002810EB0 (34 bytes allocated)
TRACE-INFO: 39: 18 0.001327
TRACE-INFO: 40: [dev trc ,00000] STATEMENT_CACHE_SIZE = 1000 46 0.001373
TRACE-INFO: 41: [dev trc ,00000] -> sdb_malloc(size=152000) : 00000000028B9FA0 (152050 bytes allocated)
TRACE-INFO: 42: 16 0.001389
TRACE-INFO: 43: [dev trc ,00000] -> sdb_malloc(size=656000) : 0000000002C200B0 (808066 bytes allocated)
TRACE-INFO: 44: 13 0.001402
TRACE-INFO: 45: [dev trc ,00000] -> sdb_malloc(size=288000) : 0000000002CC10B0 (1096082 bytes allocated)
TRACE-INFO: 46: 11 0.001413
TRACE-INFO: 47: [dev trc ,00000] -> sdb_malloc(size=16144) : 0000000002D080B0 (1112242 bytes allocated)
TRACE-INFO: 48: 11 0.001424
TRACE-INFO: 49: [dev trc ,00000] -> sdb_malloc(size=32048) : 0000000002D0C020 (1144306 bytes allocated)
TRACE-INFO: 50: 11 0.001435
TRACE-INFO: 51: [dev trc ,00000] -> loadClientRuntime() 358 0.001793
TRACE-INFO: 52: [dev trc ,00000] Loading SQLDBC client runtime ... 7 0.001800
TRACE-INFO: 53: [dev trc ,00000] SQLDBC SDK Version : SQLDBC.H 7.6.0 BUILD 007-123-091-175
TRACE-INFO: 54: 339 0.002139
TRACE-INFO: 55: [dev trc ,00000] SQLDBC Library Version : libSQLDBC 7.6.5 BUILD 011-123-196-300
TRACE-INFO: 56: 8 0.002147
TRACE-INFO: 57: [dev trc ,00000] SQLDBC client runtime is MaxDB 7.6.5.011 CL 196300 21 0.002168
Regards,
vivek -
Possible Scenarios where we can use OS command of file adapter
Hi all,
I would like to know the possible scenarios in which we can use the OS command feature in file adapter,I have tried zipping the file,copying the file,unzipping the file using this option.Any other inputs on this feature are appreciated.
Thanks,
AmitHi,
Executing Unix shell script using Operating System Command in XI
Executing Unix shell script using Operating System Command in XI
Performing FTP Commands From ABAP
Performing FTP Commands From ABAP
Thanks,
Madhu -
Hi,
Am having a requirement in my staging and prod env. to add, install,retract and remove wsp.
In my dev env i used to perform with Visual Studio ,so i didnt face any issues regarding retracting and removing the wsp from solution store.
But in my staging and prod since i dont hav VS installed, i would like to have a automated script[ NOT in POWERSHELL] using stsadm command line tool which adds the solution from a folder [say D:\DeployWSPs in staging and Prod] to the solution
store and installed onto a particular web application [ NOT "All WebApplications"].
and if the wsp already exists , i need to retract it & remove from solution store and add it and install again.
can someone pls help me with the automated script .also if the folder contains multiple WSPs how can i doa for each loop [ iterate through wach ".wsp" file and perform install/...task].
i know stsadm -o adddsolution, deletesolution,m retractsolution etc. But the issue is that customer asked me to do this ina automated fashion. manually entering all these commands is a cumbersome activity.
note: when i used powershell on 2 / 3 occasions, the wsp was retracted successfully,but failed to successfully remove from the
soln store.
so i thought i will depend upon on stsadm again like old version of SP since its supported.
DasI would recommend you to use Power Shell so that you can do the automation easily. You can use
power shell for earlier version of SharePoint as well.
Look why removing the solution is getting failed. May be you are trying to remove before the solution is retracted. Wait for retract and remove the solution. Refer to the following post for more information
http://www.codeproject.com/Articles/570011/PowerShellplus-plusWaitplusforplusRetractplus-fpl
http://consultingblogs.emc.com/mattlally/archive/2011/03/29/sharepoint-server-2010-multiple-solution-deployment-script.aspx
Cheers,
Maybe you are looking for
-
Page loads but will not display
I have an IP address that allows me to view my cctv cameras.It works fine with Internet Explorer,but when i enter the same address in to my safari browser the page seems to load but will not display anything. I assume its some thing do with my intern
-
Multiple process start with terminal?
How do I open multiple programs at one? I need it to open an executable, leave it running, open another executable. I'm not sure how to do this branch thing in the terminal I want to use this for an .sh script Last edited by caelestis (2009-04-29 22:
-
Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD
Hi!!! I am facing a problem, when I run any application, I get the following error, *com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD. No such JCO destination
-
Problems with iPhone 6 camera and snapchat
So I got an iPhone 6 with 16 GB of storage for christmas. Overall, I'm very pleased with it, but the one thing that has been bothering me is the camera; both the regular one and on snapchat. Nothing is wrong with the front camera, but it is the camer
-
Dataload - Evaluate two different fields
Hi, I need to evaluate two different fields in a dataload rule and apply condition if true. for instance if field 1 is 600 and field 2 is 30 the change field 1 to 650.