Question: I NEED THEM IN SQL CODES IN MSSQL MANAGEMENT STUDIO Create a function that inserts 100 rows in the employee table. The values of the

 I NEED THEM IN SQL CODES IN MSSQL MANAGEMENT STUDIO Create

I NEED THEM IN SQL CODES IN MSSQL MANAGEMENT STUDIO Create a function that inserts 100 rows in the employee table. The values of the emp_no column should be unique and between 1 and 100 . All values of the columns emp_Iname, emp_fname, and dept_no should be set to 'John', 'Smith', and ' d1', respectively. Modify the function from exercise 2 so that the values of the emp_no column should be generated randomly using the RAND function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!