This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File Name: get_pk.sql | |
-- Description: Get the primary keys. | |
USE AdventureWorks2019; | |
GO | |
SELECT | |
SCHEMA_NAME(tab.schema_id) AS [Schema] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File Name: get_fk_relationships.sql | |
-- Description: Get the foreign key relationships between tables. | |
USE AdventureWorks2019; | |
GO | |
SELECT | |
fk.name AS [Foreign Key Name], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File Name: get_columns.sql | |
-- Description: Get all schemas, user-defined tables, and columns in the SQL Server database | |
-- specified in the USE statement. | |
USE AdventureWorks2019; | |
GO | |
SELECT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File Name: get_tables.sql | |
-- Description: Get all schemas and user-defined tables in the SQL Server database | |
-- specified in the USE statement. | |
USE AdventureWorks2019; | |
GO | |
SELECT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Name: c_video_frame_capture.py | |
# Date: January 19, 2022 | |
# Author: Randy Runtsch | |
# | |
# Description: | |
# | |
# The c_video_frame_capture class displays video from a webcam. | |
# When the user presses "p" it writes the a frame to a file | |
# as a JPEG image. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
/* This program writes "Hello world!" to the console window. | |
It also demonstrates the use of multi-line comments. */ | |
namespace CommentMulti | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
// This program writes "Hello world!" to the console window. | |
// It also demonstrates the use of single-line comments. | |
namespace CommentsSingle | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace MainArgs | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
if (args.Length > 0) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace HelloWorld | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World!"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C# introduction examples: | |
// Calling a method without and with parameters and | |
// without and with return values. | |
using System; | |
namespace hello_world | |
{ | |
class Program | |
{ |