I want to create a logic to
Create a new database in SQL Add a new table and log the start time of each step there.
can someone help me to create this logic
I want to create a logic to
Create a new database in SQL Add a new table and log the start time of each step there.
can someone help me to create this logic
Create db must be done manually…
Then you can use connect to connect to the db
And then use execute non query to create table syntax is same as any sql table
And then use insert query to insert the data as needed
Cheers
like I want to send log start time of each step there.
User insert query… when ever you want to insert a new row into table using execute non query
Cheers
Hi @imumeriqbal
Try this-
CREATE DATABASE YourDatabaseName;
USE YourDatabaseName;
CREATE TABLE LogTable ( StepNumber INT, StartTime DATETIME )
INSERT INTO LogTable (StepNumber, StartTime) VALUES (StepNumberValue, GETDATE());
Replace StepNumberValue
with the step number for that specific activity.
Thanks!!
i am on 10th step now my question is how i can put all activty name in database