Search found 22 matches: smallint

Return to advanced search

backup mariadb - pregunta

... esto? ... DROP TABLE IF EXISTS `prestamosdet`; CREATE TABLE `prestamosdet` ( `num_pres` mediumint(6) unsigned NOT NULL DEFAULT 0, `cuota_no` smallint(4) unsigned NOT NULL DEFAULT 0, `fecha_prog` date DEFAULT NULL, `valor_prog` decimal(10,2) unsigned NOT NULL DEFAULT 0.00, `fecha_real` date ...
by carlos vargas
Thu Mar 14, 2019 7:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: backup mariadb - pregunta
Replies: 2
Views: 584

Re: Buscar un registro con ADORDD

... " + "'" + STR(norden,7,0) + "'" )  Nota: el número 7 lo ajustas dependiendo del tipo de campo (TINY, INTEGER, SMALLINT, etc etc) y longitud que hayas definido al crear la tabla, y recuerda que MySQL prácticamente todo lo almacena como alfabético. Saludos
by Armando
Tue Mar 05, 2019 3:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Buscar un registro con ADORDD
Replies: 15
Views: 3394

Re: LECTURA DE UN DLL ..

... ///Variables Delphi ACR120libHandle frHandle: Smallint; fPuerto: Smallint; ACR120libHandle := LoadLibrary( "ACR120U.DLL") //Puerto del lector, es 0 si solo hay un lector conectado. fPuerto ...
by Busmatic_wpb
Fri Aug 11, 2017 11:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: LECTURA DE UN DLL ..
Replies: 14
Views: 2220

Re: LECTURA DE UN DLL ..

... :={} &&: array[0..50] of Byte; local TagFound:=0 && Byte; Local SN:={450} && array[0..450] of Byte; local i:=0 &&smallint; local j:=0 &&smallint; Local snstr:=space(100) && string; Public frHandle:= 0, ACR120libHandle ,fretcode ACR120libHandle := ...
by Busmatic_wpb
Fri Aug 11, 2017 12:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: LECTURA DE UN DLL ..
Replies: 14
Views: 2220

Re: Nuevo ADORDD

... expressions. This is only needed for numeric fields where the SQL type its without field len definition such as: AUTOINC, MONEY, DOUBLE, INT, SMALLINT, etc. Corrected Bugs: 1) ADOBEGINTRANS( nWA ) : without work are it starts a transaction in default adordd connection otherwise it starts in ...
by AHF
Mon Dec 07, 2015 12:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo ADORDD
Replies: 55
Views: 16618

Re: ADO RDD xHarbour

... expressions. This is only needed for numeric fields where the SQL type its without field len definition such as: AUTOINC, MONEY, DOUBLE, INT, SMALLINT, etc. Corrected Bugs: 1) ADOBEGINTRANS( nWA ) : without work are it starts a transaction in default adordd connection otherwise it starts in ...
by AHF
Mon Dec 07, 2015 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447022

Re: Strange problems on decimals - dangerous bug !!

Hi Rao, I understand but SMALLINT runs well with xHarbour 1.2.1 rev 9656. What did you change from that version to 1.2.3 rev build 20141106 to affect smallint ? I know I can use ado but using a direct lib to access the db is quicker and ...
by Marco Turco
Sun Jan 18, 2015 8:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange problems on decimals - dangerous bug !!
Replies: 37
Views: 5149

Re: Strange problems on decimals - dangerous bug !!

... functions. I tried many times. What saved me was that I used FWH function to create the table, which used the correct datatype, ie INT and not SMALLINT. Trust ADO and Trust FWH.
by nageswaragunupudi
Sun Jan 18, 2015 7:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange problems on decimals - dangerous bug !!
Replies: 37
Views: 5149

Re: Strange problems on decimals - dangerous bug !!

... Antonio, your sample work well but it is not my case. In my case the nDecimal value is loaded from a sqlite database. the field is "nDecimal smallint (2)" . I have also generated the sqlite library using last xharbour version but the problem is always in place. I will try to make a self ...
by Marco Turco
Sat Jan 17, 2015 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange problems on decimals - dangerous bug !!
Replies: 37
Views: 5149

Re: LOAD DATA [LOCAL] INFILE 'file_name.txt' en tdolphin

... 2 X 15 CM. (AZTECA ISSIS KOSMETICA),2.074001,BATELENGUAS DE MADERA (NAFARRETE),7.00  y mi tabla de prueba la hice asi: id smallint(2) nombre char(80) cantidad double(10,4) costo double(16,2) puedes hacer una prueba con esta info? nuevamente gracias por tu apoyo saludos ...
by Francisco Horta
Fri Apr 05, 2013 7:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: LOAD DATA [LOCAL] INFILE 'file_name.txt' en tdolphin
Replies: 16
Views: 3209

xBrowse + MySql and SetCheck ( logic field )

... this moment bitmaps in RC . Can this be done with bitmaps files instead RC ? MySql boolean type for column isn't strong define . I'm using "smallint" : 1 for true , 0 - false ... Thanks in advance ! :)
by Rimantas
Sat Mar 02, 2013 2:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + MySql and SetCheck ( logic field )
Replies: 5
Views: 943

Re: Get table stucture of MySQL and ADO

Avista,

I solved the problem by changing the type double to decimal, and than use Precision and NumericScale to detect the light and decimals.
For INT, SMALLINT,... I took the lenght that is defined by MySQL , and decimals zero
by Marc Vanzegbroeck
Wed Oct 31, 2012 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get table stucture of MySQL and ADO
Replies: 16
Views: 2952

Re: Get table stucture of MySQL and ADO

Marc Vanzegbroeck wrote:Enrico,

As you can see here, I have double of 4,1 and 15,5 and SMALLINT of 2 and 1.


I think that the tool you are using is not reporting the correct informations.

EMG
by Enrico Maria Giordano
Mon Oct 08, 2012 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get table stucture of MySQL and ADO
Replies: 16
Views: 2952

Re: Get table stucture of MySQL and ADO

Enrico,

As you can see here, I have double of 4,1 and 15,5 and SMALLINT of 2 and 1.
Image
by Marc Vanzegbroeck
Mon Oct 08, 2012 8:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get table stucture of MySQL and ADO
Replies: 16
Views: 2952

Re: Get table stucture of MySQL and ADO

... is not fixed, but just like I defined when I created them with tMySQL. I have type double, with Length 10 , Set 3 or Lengte 4, Set 1,... Also the smallint have different sizes. No, as an example, smallint is 2 bytes fixed length (-32768 to 32767). You have no way to extend its size. EMG
by Enrico Maria Giordano
Mon Oct 08, 2012 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get table stucture of MySQL and ADO
Replies: 16
Views: 2952
Next

Return to advanced search