filmov
tv
IPGRAY : Sql Server - How to create and execute function in Sql Server
![preview_player](https://i.ytimg.com/vi/BqDV7BuP2Iw/maxresdefault.jpg)
Показать описание
IPGRAY : Sql Server - How to create and execute function in Sql Server
This video shows How to create, execute and run function in Sql Server
1. Login to sql server management studio
2. choose data base you are going to work with
3. choose a table you are going to work with
4. In my case i am going to choose zipcode table i have 80000 records in there it is good to test with huge rows
5. The plan is to pass the zipcode and the function should return the location of the zip code
6. First test the business logic in simple sql select statement before writing the function
7. use the same select statement in the function
8. create function
9. take the default layout sql server management studio give you than change it line by line
10. add the business login - in this case we are going to add the select statement tested in step 6
11. parse the function
12. execute the function
13. run the function
14. view results
---------------------------------------------------------------------------------------------------------
if you don't have sql server ......... watch IPGRAY video
IPGRAY : SQL Server - How to download and install SQL Server Express in windows 10
if you don't have sql server management studio ......... watch IPGRAY video
IPGRAY : SQL Server - How to download and install SQL Server Management Studio in Windows 10
how to create sql server user in sql server management studio ..... watch IPGRAY video
IPGRAY : Sql Server - How to create user account in Sql Server Express 2017
IPGRAY : Sql Server - How to create new user, data base with new user and create table in SQL server
---------------------------------------------------------------------------------------------------------
thank you for watching IPGRAY video
follow more IPGRAY videos on youtube
please share, subscribe and comment
This video shows How to create, execute and run function in Sql Server
1. Login to sql server management studio
2. choose data base you are going to work with
3. choose a table you are going to work with
4. In my case i am going to choose zipcode table i have 80000 records in there it is good to test with huge rows
5. The plan is to pass the zipcode and the function should return the location of the zip code
6. First test the business logic in simple sql select statement before writing the function
7. use the same select statement in the function
8. create function
9. take the default layout sql server management studio give you than change it line by line
10. add the business login - in this case we are going to add the select statement tested in step 6
11. parse the function
12. execute the function
13. run the function
14. view results
---------------------------------------------------------------------------------------------------------
if you don't have sql server ......... watch IPGRAY video
IPGRAY : SQL Server - How to download and install SQL Server Express in windows 10
if you don't have sql server management studio ......... watch IPGRAY video
IPGRAY : SQL Server - How to download and install SQL Server Management Studio in Windows 10
how to create sql server user in sql server management studio ..... watch IPGRAY video
IPGRAY : Sql Server - How to create user account in Sql Server Express 2017
IPGRAY : Sql Server - How to create new user, data base with new user and create table in SQL server
---------------------------------------------------------------------------------------------------------
thank you for watching IPGRAY video
follow more IPGRAY videos on youtube
please share, subscribe and comment