Link for code samples used in the demo
Link for csharp, , , dotnet basics, mvc and sql server video tutorial playlists
What is a re-runnable sql script?
A re-runnable script is a script, that, when run more than, once will not throw errors.
Let’s understand writing re-runnable sql scripts with an example. To create a table tblEmployee in Sample database, we will write the following CREATE TABLE sql script.
USE [Sample]
Create table tblEmployee
(
ID int identity primary key,
Name nvarchar(100),
Gender nvarchar(10),
DateOfBirth DateTime
)
When you run this script once, the table tblEmployee gets created without any errors. If you run the script again, you will get an error - There is already an object named ’tblEmployee’ in the database.
To make this script re-runnable
1. Check for the existence of the table
2. Create the table if it does not exist
1 view
0
0
5 hours ago 00:03:53 1
This Tiny SanDisk CFexpress Card Is Faster Than Your SSD?! The 480GB Beast for 8K Shooters! - YouTube
3 months ago 00:01:39 16
𝙍𝙄𝙎𝘼𝘿𝘼 𝘾𝙃𝙐𝘾𝙆 𝟬𝟭 - 𝙃𝙖𝙧𝙙𝙨𝙩𝙮𝙡𝙚 𝙍𝙚𝙢𝙞𝙭 (
4 months ago 00:02:56 2
Oh Wonder - Technicolour Beat - 10 Years On (Official Audio)
4 months ago 00:08:00 16
Dream Theater - Midnight Messiah (Official Video)
4 months ago 00:09:58 2
LUGHEAD | Omeleto
5 months ago 01:07:44 1
Music Mix 2025 | Party Club Dance 2025 | Best Remixes Of Popular Songs 2025 MEGAMIX (DJ Silviu M)
5 months ago 01:03:08 4
Vintage Christmas music to cheer up your holidays (1940s, 30s, 50s Christmas Radio Jazz)
5 months ago 00:07:04 1
MACKLEMORE & RYAN LEWIS - CAN’T HOLD US FEAT. RAY DALTON (OFFICIAL MUSIC VIDEO)
6 months ago 00:03:15 1
#ChristmasVibes🎄🎅 A Modern Christmas Song | Planet Pop | Educational Videos For Kids #englishforkids