How can you enable a trace for a session?

1 Answer

Answer :

Use the DBMS_SESSION.SET_SQL_TRACE or
Use ALTER SESSION SET SQL_TRACE = TRUE;

Related questions

Description : What is a trace file and how is it created ?

Last Answer : Each server and background process can write an associated trace file. When an internal error is detected by a process or user process, it dumps information about the error to its trace. This can be used for tuning the database.

Description : How does one give developers access to trace files (required as input to tkprof)? (for DBA)

Last Answer : The "alter session set sql_trace=true" command generates trace files in USER_DUMP_DEST that can be used by developers as input to tkprof. On Unix the default file mask for these files are "rwx r-- -- ... = true Include this in your INIT.ORA file and bounce your database for it to take effect.

Description : What is the maximum buffer size that can be specified using the DBMS_OUTPUT.ENABLE function?

Last Answer : 1,000,00

Description : How can you enable automatic archiving ?

Last Answer : Shut the database Backup the database Modify/Include LOG_ARCHIVE_START_TRUE in init.ora file. Start up the database.

Description : Can you disable and enable Primary key?

Last Answer : You can use the ALTER TABLE statement to enable, disable, modify, or drop a constraint. When the database is using a UNIQUE or PRIMARY KEY index to enforce a constraint, and constraints associated ... and any FOREIGN KEY constraints that depend on it: ALTER TABLE dept DISABLE PRIMARY KEY CASCADE;

Description : What are the values that can be specified for OPTIMIZER_GOAL parameter of the ALTER SESSION Command ? )

Last Answer : CHOOSE,ALL_ROWS,FIRST_ROWS and RULE.

Description : Explain Connect by Prior ?in a session before accessing next value ?

Last Answer : Retrieves rows in hierarchical order.e.g. select empno, ename from emp where.

Description : What is ROWID ?in a session before accessing next value ?

Last Answer : ROWID is a pseudo column attached to each row of a table. It is 18 character long, blockno, rownumber are the components of ROWID.

Description : What are the usage of SAVEPOINTS ?value in a session before accessing next value ?

Last Answer : SAVEPOINTS are used to subdivide a transaction into smaller parts. It enables rolling back part of a transaction. Maximum of five save points are allowed.

Description : How to access the current value and next value from a sequence ? Is it possible to access the current value in a session before accessing next value ?

Last Answer : Sequence name CURRVAL, Sequence name NEXTVAL.It is not possible. Only if you access next value in the session, current value can be accessed.

Description : How do you create a new session while open a new form?

Last Answer : Using open_form built-in setting the session option Ex. Open_form('Stocks ',active,session). when invoke the mulitiple forms with open form and call_form in the same application, state whether the following are true/False

Description : What is the effect of setting the value "CHOOSE" for OPTIMIZER_GOAL, parameter of the ALTER SESSION Command ?

Last Answer : The Optimizer chooses Cost_based approach and optimizes with the goal of best throughput if statistics for atleast one of the tables accessed by the SQL statement exist in the data dictionary. Otherwise the OPTIMIZER chooses RULE_based approach.

Description : What is the effect of setting the value "ALL_ROWS" for OPTIMIZER_GOAL parameter of the ALTER SESSION command ? What are the factors that affect OPTIMIZER in choosing an Optimization approach ?

Last Answer : Answer The OPTIMIZER_MODE initialization parameter Statistics in the Data Dictionary the OPTIMIZER_GOAL parameter of the ALTER SESSION command hints in the statement.

Description : How do you trace an (empty and probably pvc) conduit pipe beneath a parking lot?

Last Answer : If you have access, you can fill the pipe with water, run a current through it, and track it with a wire tracer

Description : What tools can we use to trace underground wire? How can we deal wtih the wire underground?

Last Answer : Rent, buy, borrow a metal detector.

Description : Do you have any fears, even a phobia, that you can trace back to a traumatic childhood event?

Last Answer : I lopped off a fingertip at age 1 in a bad fall. I suspect it might be the reason that medical settings, or even reading gruesome medical accounts can make me pass out. It doesn't happen much ... blood drawn. Though I wouldn't call it a phobia. I walk into those situations anticipating the best.

Description : Is there a free phone number reverse trace that actually works?

Last Answer : answer:I Google the phone number using the format 555–555-1212. It seems like the best Google results are usually Whitepages.com (best for residential numbers in my experience) and 800 Notes (best for companies spamming me).

Description : How do you tie a Baby Shoe Trace?

Last Answer : answer:I had no idea what a Baby Shoe Trace was, but it's a slow day on ask-public, so I found one for you. Here's the actual Trace. Just click the picture and it will enlarge to actual size ... think. It's not really clear, but thesse look like the right size for a baby and quite comfortable, too.

Description : Can the general public trace my IP address on FaceBook?

Last Answer : answer:Since Facebook collects data and uses it for any purpose, as you gave your tacit consent when you signed up for an account there is no privacy right on that website. Whether a secondary company can ... data? and how interesting are YOU that a company would invest the time in doing that?

Description : Could a mass extinction event leave no trace humans ever existed?

Last Answer : I doubt it. We bury our dead, so the bones would be left behind. Since we preserve some bodies there might be fairly intact corpses, that I am not sure of, I don't know about ... fact, some bones might be barely covered when discovered from those who died from the consequence of the meteor.

Description : Is it possible to trace an email address?

Last Answer : answer:You can get a lot of information from the header. It will tell you the the originating IP address and will lead you to a block of numbers belonging to the internet provider. Law enforcement can ... number. There are ways to spoof and trick the system. Crooks and scammers do it all the time.

Description : Creepiness. Microsoft operating systems doesn't have a support center somewhere in India that calls you first, do they? Should I call trace him or just blow it off? Where did he get my number?

Last Answer : answer:It is a scam to get you to install shit. http://arstechnica.com/tech-policy/2012/10/i-am-calling-you-from-windows-a-tech-support-scammer-dials-ars-technica/

Description : What would happen, to the world economy, if all stored physical gold, and most other precious metals, were suddenly reported to have vanished with no trace, while some still exist on paper?

Last Answer : They would find another resource that that approximated the beauty, nobility, and malleability of gold. It would not be the same. But if you can not have plan A, you have to take plan B.

Description : Can you trace a burned DVD?

Last Answer : answer:Sorry to say it, but if it is, its probably not in a way that the common citizen use. While every cd-writer has a unique tag, that can be used to track where a cd/DVD was made, I ... clues are imbeded in the metadata of the file, such as the name or initials of ther person that made the file

Description : So there's absolutely no way to trace an unavailable phone number?

Last Answer : The police can do it, but there’s no way the information would be passed to a member of the public. However if you are being harassed or called illegally, or a crime is being committed, report it to the police. They will be able to get the required information from the telephone company.

Description : What are some criteria by which you decide who/what you would like to become? Can you trace the influences upon them?

Last Answer : I don’t decide, I just become whatever it is that I become.

Description : Can I Trace my iPhone 4?

Last Answer : You should file a police report in any case. It’s rumored that the police can work with AT&T to locate the stolen phone.

Description : What trace minerals or elements would be found in kale?

Last Answer : “That little cup of kale also stokes up your B vitamins, and provides about 8 percent of the trace minerals—copper, magnesium, manganese and iron—which are often in short supply in the American diet, yet are indispensable for blood formation and bone health.” Baltimore Sun

Description : Is there any way for a mobile carrier to trace "unknown calls" (i.e., no number shows up, just "unknown")?

Last Answer : I wish I knew. This used to happen to me all the time. I eventually had to change my number. Depending on who your cell service is through, some allow you to deny any private callers or send them ... so it won't bother you if they're calling at late hours and disturbing your sleep. Good luck :)

Description : Is there a way to trace "Unknown" phone calls?

Last Answer : i’m not sure you can trace them, but you can block them. Call your phone company to find out how to block unknown or blocked numbers.

Description : Can you trace back your growth as a person to a single point in your personal history?

Last Answer : I call those “Major Moments” and I’ve had quite a few of them.

Description : To surf without leaving a trace, which browser is best?

Last Answer : You can’t sneak past a nosy admin who knows his/her stuff. Not while still on the network. You can use your own WiFi to do it. You need to learn about proxies. Maybe Tor. Google it. And learn to clear your caches.

Description : How many African-Americans can trace their roots and create a family tree which includes their ancestors in Africa?

Last Answer : I’d be interested, but my roots are too mangled to ever really uncover. I’m kind of cool with that though, as much as it goes against european sensibility

Description : How can I trace a blocked phone call?

Last Answer : Call your service provider!

Description : Where are railways developed in hilly areas and why? Trace their history in the colonial period. -Geography

Last Answer : Railway tracts are laid through low hills, gaps or tunnels in the hilly terrains of peninsular region. In the places such as Himalayan regions, it is not favourable to construct railway lines. ... west coast has facilitated the movement of passengers and goods in this most economic region of India.

Description : Question 2: What factors gave birth to the consumer movement in India? Trace its evolution? -Economics 10th

Last Answer : The factors that gave birth to the consumer movement in India are manifold. It started as a “social force” with the need to protect and promote consumer interests against unfair and unethical trade ... Act, also known as COPRA. This was a major step in the consumer movement in India.

Description : Sometimes I am born in silence, Other times, no. I am unseen, But I make my presence known. In time, I fade without a trace. I harm no one, but I am unpopular with all. What am I? -Riddles

Last Answer : A fart.

Description : In camps about the centre I appear; In smiling meadows seen throughout the year; The silent angler views me in the streams, And all must trace me in their morning dreams, First in the mob conspicuous I stand, Proud of the lead, and ever in command. What am I? -Riddles

Last Answer : The letter M.

Description : Trace the history of print in Europe. -SST 10th

Last Answer : (i) Paper from China : Paper reached Europe from China through the Silk route in the 11th century. With this, the production of manuscripts written by scribes became a regular feature. (ii) Role of ... years i.e. between 1450 and 1550, printing presses were set up in most countries of Europe.

Description : Trace the growth of print technology in India. -SST 10th

Last Answer : (i) Handwritten manuscripts : India had a very rich and old tradition of handwritten manuscripts in Sanskrit, Arabic, Persian, as well as in various vernacular languages. Manuscripts were copied ... taking place. By 1870's caricatures and cartoons were being published in journals and newspapers.

Description : Trace the growth and development of print technology. -SST 10th

Last Answer : (i) Print technology in the 6th and 7th century : From AD 594 onwards, books in China were printed by rubbing paper against the inked surface of woodblocks. (ii) Role of travellers and ... the mid-nineteenth century, Richard M. Hoe of New York had perfected the power- driven cylindrical press.

Description : Trace the development of Printing Technology in Europe. -SST 10th

Last Answer : . By the late 19th century, the press came to be made out of metal. . By the mid 19th century, Richard M. Hoe of New York had perfected the power-driven cylindrical press. ... quality of plates became better, automatic paper reels and photoelectric controls of the colour register were introduced.

Description : Trace the history of print revolution in India. -SST 10th

Last Answer : . The printing press first came to Goa with the Portuguese missionaries in the mid 16th century. . Books were printed in Konkani and Kanara languages. . Catholic priests printed the first Tamil ... the weekly Bengal Gazette' brought out by Gangadhar Bhattacharya, who was close to Rammohan Roy.

Description : Trace the evolution of the consumer movement in India. -SST 10th

Last Answer : . In India, the consumer movement as a social force' began with the necessity of protecting and promoting the interests of consumers against unfair trade practices. . Rampant food shortages, ... passages transport. . More recently, India witnessed an upsurge in the number of consumer groups.

Description : Briefly trace the process of German Unification. -SST 10th

Last Answer : The Frankfurt parliament was the first step of German unification but this initiative of nation building was repressed by the monarchy and big landlords of Prussia. German unification was a long and ... and Iron' policy. Thus, the long planned journey of German unification was completed in 1871.

Description : Trace the origin of Silk Route and its significance. -SST 10th

Last Answer : The Silk Route is one of the world's oldest and historically most important trade route which affected the cultures of China, Central Asia and the West. It had many branches leading to different ... only one of the many commodities that was traded between China and the world through this route.

Description : Trace the different stages of development of the assembly line production. -SST 10th

Last Answer : Henry Ford, the pioneer of the assembly line production, was inspired by the assembly line of a Chicago slaughter house which he adapted to his new car plant in Detroit. Accordingly, the ... his wages by repeatedly speeding up the production line and forcing the workers to work even harder.

Description : Briefly trace the geographical and ethnic variations of Balkan region. -SST 10th

Last Answer : (i) The Balkan was a region of geographical and ethnic variation comprising of modern-day Romania, Bulgaria, Albania, Greece, Macedonia, Croatia, Bosnia-Herzegovina, Slovenia, Serbia and Montenegro, and ... , and extending its own control over the area, which culminated in the First World War.

Description : Trace the reason because of which Gandhiji started Satyagraha in 1919. -SST 10th

Last Answer : To protest against the Rowlatt Act.

Description : Trace the development of textile industry in India. -SST 10th

Last Answer : The development of textile industry in India can be traced in the following stages: (i) First cotton mill came up in Bombay in 1854. (ii) Around the 1860s, jute mills came up in Bengal. (iii) These were followed by mills in Kanpur, Ahmedabad and Madras.