You are on page 1of 1

1: Pre-Built Procedure in SQL: -

In SQL the Pre-Bulit procedure basically refers to Stored procedures as those are predefined and
stored in a database by containing a set of SQL statements and are given a name for easy execution.
And they perform a specific task or a series of tasks within a database.

And Pre-built procedures can be called using a simple command without rewriting the SQL code each
time, making database management more efficient and reducing the risk of errors. Also, they are
commonly used for tasks like data manipulation, transaction management, and more.

2: Queries and creating new Pre-Built Procedure in SQL: -

CREATE OR REPLACE PROCEDURE procedure_name

(parameter1 data_type, parameter2 data_type, ...)

AS

BEGIN

-- SQL statements for your procedure

END;

To execute this stored procedure, you would use the following SQL command:

EXEC procedure_name parameter = 123;

Parameters: We can specify input parameters in the square brackets, which are optional. Parameters
allow us to pass values to the procedure.

SQL Statements: Within the `BEGIN` and `END` block we have to define the procedure's logic.

Save the Procedure: The `CREATE PROCEDURE` statement to save the procedure in the database.

Execute the Procedure: We can later execute the procedure using the `EXEC` statement with the
appropriate parameters.

3: Excel as a database tool:

We can use Excel as a database tool for managing and analyzing data.

And can connect Excel with RDBMS, Marketing Automation tolls (like Adobe campaign),

and with Customer Data platformers (CDPs). So that we can automate the data exporting and
importing to do the validation and all.

But still, we have some main capabilities and options we can do with Excel for data operation are:

Data Entry and Storage, Sorting and Filtering, Data Validation, Data Formatting, Formulas and
Functions, PivotTables, Charts and Graphs, Data Import and Export, Table Features, Database
Functions, Conditional Formatting, Data Consolidation, Protecting Data, Sharing and Collaboration

You might also like