MySQL Forums
Forum List  »  Italian

Re: Stored procedure - variabile per creazione tabella
Posted by: Diego Radica
Date: November 12, 2018 10:17AM

Grazie ancora
ho dato un pò una lettura, e teoricamente a me serverebbe una partizione by range, del tipo

PARTITION BY RANGE(YEAR(TimeLog)) (
PARTITION p0 VALUES LESS THAN (2014) ENGINE = MyISAM,
PARTITION p1 VALUES LESS THAN (2015) ENGINE = MyISAM,
PARTITION p2 VALUES LESS THAN (2016) ENGINE = MyISAM,
PARTITION p3 VALUES LESS THAN (2017) ENGINE = MyISAM,
PARTITION p4 VALUES LESS THAN MAXVALUE ENGINE = MyISAM
)
;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Stored procedure - variabile per creazione tabella
158
November 12, 2018 10:17AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.