-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.txt
28 lines (16 loc) · 1.01 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Java Version Required- Java7
HOW TO RUN
1. I have submitted both the source code(main function is in kcSQL.class) as well as the .jar file.
2. The name of the jar file is kcSQL.jar
3. Please unzip the submitted file which contains both the source code(package database)- DB project 2 and the .jar file
4. run the jar file from cmd at the location the jar file is stored
5. Please use the command java -jar kcSQL.jar
Syntax
1.Datetime inset should be of format 'yyyy-MM-dd_HH:mm:ss'
2. Date should be of format 'yyyy-MM-dd'
3. Only difference of syntax is for test case of insert. Please use - " insert into table table_name ". I have attached screenshots of the output.
4. The code runs fine for all other of the test cases.
5. Please press help; for any syntaxes of the command that will be accepeted by the engine
To generate jar file
1. To verify further jar file can be generated from the source code submitted
2. The java file can be generated by right clicking on the package in eclipse and exporting it as a jar file