Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

SIKSHAPATH

SIKSHAPATH Logo SIKSHAPATH Logo

SIKSHAPATH Navigation

  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
  • About
    1. Asked: November 17, 2021In: DBMS

      List % ROWTYPE and TYPE RECORD along with their applications.

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 20, 2021 at 10:06 pm

      % ROWTYPE is to be used whenever query returns an entire row of a table or view. TYPE rec RECORD is to be used whenever query returns columns of different table or views and variables. E.g. TYPE r_emp is RECORD (eno emp.empno% type,ename emp ename %type ); e_rec emp% ROWTYPE cursor c1 is select empnRead more

      % ROWTYPE is to be used whenever query returns an entire row of a table or view.
      TYPE rec RECORD is to be used whenever query returns columns of different table or views and variables.
      E.g. TYPE r_emp is RECORD (eno emp.empno% type,ename emp ename %type );
      e_rec emp% ROWTYPE
      cursor c1 is select empno,deptno from emp;
      e_rec c1 %ROWTYPE.

       

      ANSWER IS IN ATTACHMENT:

      See less
      Attachment

        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    2. Asked: November 20, 2021In: DBMS

      Create a trigger which will work before deletion in employee table and print a message “Deletion started”

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 20, 2021 at 6:36 pm

      https://sikshapath.in/question/create-a-trigger-which-will-work-before-deletion-in-employee-table-and-print-a-message-deletion-started/

      Create a trigger which will work before deletion in employee table and print a message “Deletion started”

      See less
        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    3. Asked: November 19, 2021In: DBMS

      Create a package with procedure that shows the usage of the WHILE loop to calculate the average of user entered …

      I'M ADMIN
      I'M ADMIN
      Replied to answer on November 19, 2021 at 9:57 pm

      That's a good thing to help each other keep going!

      That’s a good thing to help each other
      keep going!

      See less
        • 3
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    4. Asked: November 19, 2021In: Programming Language

      java Write a method that prints out a 3N+1 sequence starting from a given integer, N. Thestarting value should be …

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 19, 2021 at 8:58 pm

      Write a method that prints out a 3N+1 sequence starting from a given integer, N. Thestarting value should be a parameter to the method. If the parameter is less than or equalto zero, throw an IllegalArgumentException. If the number in the sequence becomes toolarge to be represented as a value of typRead more

      Write a method that prints out a 3N+1 sequence starting from a given integer, N. Thestarting value should be a parameter to the method. If the parameter is less than or equalto zero, throw an IllegalArgumentException. If the number in the sequence becomes toolarge to be represented as a value of type int, throw an ArithmeticException.

       

      ANSWER:

      See less
      Attachment

        • 1
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    5. Asked: November 19, 2021In: DBMS

      List triggers that can be used for table auditing?

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 19, 2021 at 8:37 pm

      Triggers are commonly used to supplement the built-in auditing features of Oracle. Although triggers can be written to record information similar to that recorded by the AUDIT command, triggers should be used only when more detailed audit information is required. For example, use triggers to provideRead more

      Triggers are commonly used to supplement the built-in auditing features of Oracle. 
      Although triggers can be written to record information similar to that recorded by the AUDIT command, 
      triggers should be used only when more detailed audit information is required. For example, use triggers
      to provide value-based auditing on a per-row basis for tables.
      
       Currently, four types of triggers exist in SQL Server, and the first two are the most commonly used:
      • DDL triggers (auditing CREATE, ALTER, DROP and several system-defined stored procedures which perform DDL operations) are often used for administrative tasks like regulating and auditing database operations
      • DML triggers – our focus will be on this type of trigger as they provide auditing of data changes. This type of audit triggers fires upon DML statements (like INSERT, UPDATE, and DELETE) as well on stored procedures that execute DML-like operations
      • CLR triggers are a special type of auditing triggers that enables trigger techniques to be used directly within .NET languages, and they support SQL Server 2008 and above
      • Logon triggers fire when a SQL Server LOGON event occurs. It can be used to track successful authentication and control and audit server sessions
      See less
        • 2
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    6. Asked: November 19, 2021In: DBMS

      Create a trigger which will work before deletion in employee table and create a duplicate copy of the record in …

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 19, 2021 at 8:13 pm

      create table employee( employee_no int, employee_name varchar(40), job varchar(40), salary int   ............. DOWNLOAD ANSWER :

      create table employee(

      employee_no int,

      employee_name varchar(40),

      job varchar(40),

      salary int

       

      ………….

      DOWNLOAD ANSWER :

      See less
      Attachment

        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    1 … 111 112 113 114 115 … 122

    Sidebar

    store ads

    Stats

    • Questions 1k
    • Answers 1k
    • Posts 149
    • Best Answers 89
    • This Free AI Tool Translates Entire Books in Minute !
    • AI News: 🎬 Hollywood’s AI Studios, 🎓 OpenAI’s Latest Gift to Educators, 🚚 Class8 Bags $22M, 🧠 Google Gemini’s Memory Upgrade
    • AI NEWS: Legal Action Against OpenAI, $16M Paid, & Elon Musk’s Praise from Investor 🤖💰📑 | AI Boosts Cloud Seeding for Water Security 🌱💧
    • AI News: 🎬AI Video Tool Scam Exposed🤯, 🛰️ AI-Powered Drones to Ukraine 😱, Google’s $20M AI Push, Sam Altman Joins SF’s Leadership Team
    • AI News: 🤝 Biden Meets Xi on AI Talks, 💡 Xavier Niel’s Advice for Europe, ♻️ Hong Kong’s Smart Bin Revolution, 🚀 AI x Huawei

    Explore

    • Recent Questions
    • Questions For You
    • Answers With Time
    • Most Visited
    • New Questions
    • Recent Questions With Time

    Footer

    SIKSHAPATH

    Helpful Links

    • Contact
    • Disclaimer
    • Privacy Policy Notice
    • TERMS OF USE
    • FAQs
    • Refund/Cancellation Policy
    • Delivery Policy for Sikshapath

    Follow Us

    © 2021-24 Sikshapath. All Rights Reserved