Premium Employer

AmbitionBox

4.9
based on 36 Reviews
Filter interviews by

Cipla BioTec Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. What is difference between tempory table and table variable

Ans.

Temporary tables are stored in tempdb while table variables are stored in memory.

  • Temporary tables are created using CREATE TABLE statement while table variables are declared using DECLARE statement.

  • Temporary tables can be accessed across sessions while table variables are limited to the scope of the batch, stored procedure or function.

  • Temporary tables can have indexes and constraints while table variables cannot.

  • Temporary tables can be dropped explicitly while table variables...read more

Add your answer

Q2. What is synonyms what is use of it?

Ans.

Synonyms are database objects that allow users to create aliases for other database objects.

  • Synonyms can be used to simplify complex queries by providing a shorter name for a table or view.

  • They can also be used to provide a layer of abstraction between the user and the underlying database objects.

  • Synonyms can be created for tables, views, stored procedures, and other database objects.

  • They can be used to reference objects in other databases or even on other servers.

  • Synonyms ca...read more

Add your answer

Q3. What is index what is use off it

Ans.

An index is a database object that improves the speed of data retrieval operations on a table.

  • Indexes are used to quickly locate data without having to search every row in a table.

  • They are created on one or more columns of a table.

  • Indexes can be clustered or non-clustered.

  • Clustered indexes determine the physical order of data in a table.

  • Non-clustered indexes are separate structures that contain a copy of the indexed columns and a pointer to the actual data.

  • Indexes can improve...read more

Add your answer

Q4. What is synonyms what is use off it

Ans.

Synonyms are alternate names for database objects. They are used to simplify queries and provide security.

  • Synonyms are used to provide an alternate name for a database object such as a table, view, stored procedure, or function.

  • They can simplify queries by providing a shorter or more meaningful name for an object.

  • Synonyms can also be used to provide security by allowing users to access an object without knowing its actual name or location.

  • They are created using the CREATE SYN...read more

Add your answer
Discover Cipla BioTec interview dos and don'ts from real experiences

Q5. What is identify property

Ans.

Identity property is used in SQL to automatically generate unique values for a column.

  • Identity property is used to create an auto-incrementing column in a table.

  • It is commonly used as a primary key in a table.

  • The identity property can be applied to numeric data types such as INT, BIGINT, etc.

  • The identity value starts from a seed value and increments by a specified increment value.

  • Example: CREATE TABLE Employees (ID INT IDENTITY(1,1) PRIMARY KEY, Name VARCHAR(50));

View 1 answer

Q6. Difference between delete and truncate

Ans.

Delete removes specific rows from a table, while truncate removes all rows from a table.

  • Delete is a DML command, while truncate is a DDL command.

  • Delete is slower as it logs individual row deletions, while truncate is faster as it deallocates the data pages.

  • Delete can be rolled back, while truncate cannot be rolled back.

  • Delete can have a WHERE clause to specify conditions, while truncate removes all rows without any conditions.

  • Delete maintains the identity of the table, while ...read more

View 1 answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top SQL Developer Interview Questions from Similar Companies

3.8
 • 16 Interview Questions
3.7
 • 14 Interview Questions
3.8
 • 11 Interview Questions
4.4
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter