NexusFi: Find Your Edge


Home Menu

 





MySQL Syntax "Error"


Discussion in Platforms and Indicators

Updated
    1. trending_up 897 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
Fernand0
Argentina
 
Posts: 19 since Apr 2018
Thanks Given: 8
Thanks Received: 3

This syntax works

 
Code
@"CREATE TABLE IF NOT EXISTS `dom`.`flow` (

		`id`				INTEGER		NOT NULL	AUTO_INCREMENT,
		`current`			TIMESTAMP 	NOT NULL	DEFAULT CURRENT_TIMESTAMP,

		`triggered`		DATETIME 	NOT NULL 	DEFAULT '0000-00-00 00:00:00',
		`milliseconds`		INTEGER 		NOT NULL 	DEFAULT '0',

		`bid_price`		FLOAT		NOT NULL 	DEFAULT '0',
		`ask_price`		FLOAT 		NOT NULL 	DEFAULT '0',

		`bid_start`		INTEGER		NOT NULL 	DEFAULT '0',
		`bid_end`			INTEGER		NOT NULL 	DEFAULT '0',
		`bid_added`		INTEGER		NOT NULL 	DEFAULT '0',
		`bid_hitted`		INTEGER		NOT NULL	DEFAULT '0',
		`bid_removed`		INTEGER		NOT NULL 	DEFAULT '0',

		`ask_start`		INTEGER		NOT NULL	DEFAULT '0',
		`ask_end`		INTEGER		NOT NULL	DEFAULT '0',
		`ask_added`		INTEGER		NOT NULL 	DEFAULT '0',
		`ask_hitted`		INTEGER		NOT NULL 	DEFAULT '0',
		`ask_removed`		INTEGER		NOT NULL 	DEFAULT '0',

		PRIMARY KEY(`id`, `ask_price`, `bid_price`)

)
ENGINE = InnoDB"

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to plot a custom icon for crossover
NinjaTrader
What You Know vs How much you know about it
Traders Hideout
Brendt Skorupinsky
Trading Reviews and Vendors
Radarscreen
TradeStation
MC Advanced Simulated Trading.
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
45 thanks
HumbleTraders next chapter
44 thanks
What is Markets Chat (markets.chat) real-time trading ro …
41 thanks
ApexTraderFunding.com experience and review
30 thanks
1 Minute Man
19 thanks




Last Updated on August 10, 2018


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Sitemap - Downloads - Top
no new posts