DbFit - Language

Card Puncher Data Processing

About

List of DbFit instructions.

Instructions

Connect

Ref

|Connect|jdbc:sqlserver://myhost\myinstance;user=myuser;password=mypassword;databaseName=mydbname|

Configuration file

  • connection configuration file in the root folder
#DbFit connection properties
Connection-string=jdbc:sqlserver://localhost\sql2012;

  • in a test
!|Connect using file|.\Connections.ini|

Query

Query Type:

  • Query
  • Ordered Query

Mutliple line. See issue:

# will not work because of the <
!|Query|!-
select case when sysdate < sysdate +1 then 'X' else 'Y' end as dummy
from dual 
where 1 < 2
-!|

Documentation / Reference





Discover More
Fitness Page Properties
DbFit - Azure SQL Server Example

A step by step for a dbfit test in Azure SQL Server Java version 8 or 7 - DbFit version 3.2.0 An Azure SQL account Download the driver...



Share this page:
Follow us:
Task Runner