SQL Procedure Interview Questions

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • Video talks about
    SQL Procedure Interview Questions
    SQL Interview Questions
    SQL Interview Questions and answers
    Top SQL Interview Questions
    SQL Interview call
    SQL FAQ's
    sql questions
    sql answers,
    top sql faq
    sql training videos
    sql stored procedure
    stored procedure in sql server
    advantages of using stored procedure
    sql procedure questions
    differences between Stored Procedure and Functions in SQL
    What are stored procedures-Advantages of Stored procedures in sql
    sql tutorial
    SQL Server Interview Questions and Answers: For All Database Developers and Developers Administrators
    sql interview questions for experienced
    a. What is stored procedure??
    b. Difference between procedure and functions..
    c. Can you please write sample procedure with out Parameter..
    d. Can I call one procedure in another procedure..
    Procedure:
    a. Block of statements
    b. Select and DML statements.
    c. Insert,Update and Delete
    d. Can contain input and output parameters
    e. Call functions in the procedure
    Function:
    a. Block of statements
    b. Select statements only.
    c. Does not support Insert,Update and Delete
    d. Should return output
    e. Can not call procedures in functions
    Stored Procedure:
    • Block of statements
    • Precompiled code and stored in the data base.
    • Increase the readability
    • Allows faster execution
    • Reduce the network traffic..
    • Provides better security..
    • Contains input and output parameters..
  • НаукаНаука

Комментарии • 19

  • @suribhandari1985
    @suribhandari1985 5 лет назад

    I have read that we can update/Delete base table using In line table valued function... Could please share some examples please

  • @pethilrajramachandran8095
    @pethilrajramachandran8095 5 лет назад

    Can you write example for call one procedure to another procedure an d how to update multiple rows and columns in single query?

  • @pethilrajramachandran8095
    @pethilrajramachandran8095 5 лет назад

    Write the example using bulk collect and insert update delete statement ? This questions asked to me one of the recruiter

  • @sarithadasari4208
    @sarithadasari4208 5 лет назад

    where we call cursors in functions or in procedure?How?

  • @AIBot354
    @AIBot354 2 года назад

    We can perform Dml Operation in function

  • @priyankaadhikari4490
    @priyankaadhikari4490 3 года назад +1

    thanks for the video. can you please explain how to call stored procedure inside another stored procedure.

    • @Training2SQLMSBI
      @Training2SQLMSBI  3 года назад

      Thanks for your feedback.
      Pls call using " EXEC ProcedureName"

  • @chetanjyotirout3572
    @chetanjyotirout3572 4 года назад +1

    Hello Sir, Can I have some more stored procedure interview questions example?

  • @Naveen_Kumar_Garikipati
    @Naveen_Kumar_Garikipati 5 лет назад

    How to change automatically table name in from clause depends on input variable?

    • @saurabhSql
      @saurabhSql 3 года назад

      @naveen kumar Garikripati : you can use dynamic query to make From or Where clause dynamic base on input parameter

  • @nasrinbanu7113
    @nasrinbanu7113 6 лет назад +1

    Hi please send real time scenario questions in ssis and ssrs

  • @venkatasatishpasumarthi8185
    @venkatasatishpasumarthi8185 5 лет назад

    hello sir we can also perform dml operations in functions using AUTONOMOUS_TRANSACTION Pragma

  • @rajisree9802
    @rajisree9802 4 года назад +1

    hii sir i had a question.... we have 2 tables customer table and phonenumbers table we have to write procedure for the customers who are not having the phone number this is 1st qsn
    customers who are not having the phone number this is output
    2nd question In the same customer table customers are from 3 Different cities we want output like from Each City 10 customers will come
    please answer for this sir

    • @AK-rw8zq
      @AK-rw8zq 4 года назад

      Please check this once if you face any problem let me know..
      1. Create proc Deptgrp
      As
      (
      Begin
      select column1,column2 from tblCust
      lefft join tblPhonenum
      On tblcust.ID = tblphonenumid.numId
      where DepartmentId is null;
      End
      )
      2. create proc citycount
      as
      (
      begin
      SELECT DepartmentId,COUNT(Customers) FROM tblCust
      GROUP BY DEPARTMENTID
      end
      )

  • @Kriishna47
    @Kriishna47 6 лет назад +1

    assssssssssssssssssssssss could be pronounced as 'as'

  • @srinivasc4157
    @srinivasc4157 4 года назад

    How to write stored function in stored procefures

    • @Training2SQLMSBI
      @Training2SQLMSBI  4 года назад

      Its very easy and straight forward .. will cover soon if required.