You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(55) |
Dec
(36) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(38) |
Feb
(108) |
Mar
(79) |
Apr
(95) |
May
(64) |
Jun
(130) |
Jul
(146) |
Aug
(121) |
Sep
(96) |
Oct
(149) |
Nov
(161) |
Dec
(113) |
2004 |
Jan
(113) |
Feb
(163) |
Mar
(248) |
Apr
(132) |
May
(157) |
Jun
(160) |
Jul
(236) |
Aug
(284) |
Sep
(293) |
Oct
(277) |
Nov
(257) |
Dec
(356) |
2005 |
Jan
(203) |
Feb
(190) |
Mar
(220) |
Apr
(165) |
May
(124) |
Jun
(160) |
Jul
(190) |
Aug
(142) |
Sep
(152) |
Oct
(189) |
Nov
(187) |
Dec
(159) |
2006 |
Jan
(170) |
Feb
(151) |
Mar
(212) |
Apr
(262) |
May
(226) |
Jun
(196) |
Jul
(223) |
Aug
(165) |
Sep
(163) |
Oct
(348) |
Nov
(225) |
Dec
(141) |
2007 |
Jan
(261) |
Feb
(161) |
Mar
(222) |
Apr
(193) |
May
(121) |
Jun
(157) |
Jul
(151) |
Aug
(159) |
Sep
(61) |
Oct
(123) |
Nov
(172) |
Dec
(96) |
2008 |
Jan
(104) |
Feb
(138) |
Mar
(131) |
Apr
(131) |
May
(74) |
Jun
(107) |
Jul
(89) |
Aug
(89) |
Sep
(172) |
Oct
(158) |
Nov
(119) |
Dec
(86) |
2009 |
Jan
(52) |
Feb
(84) |
Mar
(78) |
Apr
(83) |
May
(54) |
Jun
(79) |
Jul
(60) |
Aug
(62) |
Sep
(50) |
Oct
(147) |
Nov
(50) |
Dec
(70) |
2010 |
Jan
(135) |
Feb
(113) |
Mar
(74) |
Apr
(93) |
May
(35) |
Jun
(71) |
Jul
(33) |
Aug
(110) |
Sep
(47) |
Oct
(18) |
Nov
(61) |
Dec
(34) |
2011 |
Jan
(46) |
Feb
(47) |
Mar
(25) |
Apr
(24) |
May
(21) |
Jun
(22) |
Jul
(20) |
Aug
(51) |
Sep
(31) |
Oct
(42) |
Nov
(22) |
Dec
(22) |
2012 |
Jan
(31) |
Feb
(19) |
Mar
(25) |
Apr
(55) |
May
(16) |
Jun
(28) |
Jul
(33) |
Aug
(25) |
Sep
(32) |
Oct
(25) |
Nov
(52) |
Dec
(35) |
2013 |
Jan
(43) |
Feb
(18) |
Mar
(36) |
Apr
(45) |
May
(22) |
Jun
(13) |
Jul
(31) |
Aug
(24) |
Sep
(19) |
Oct
(59) |
Nov
(47) |
Dec
(25) |
2014 |
Jan
(27) |
Feb
(15) |
Mar
(38) |
Apr
(10) |
May
(15) |
Jun
(36) |
Jul
(24) |
Aug
(28) |
Sep
(16) |
Oct
(6) |
Nov
(44) |
Dec
(40) |
2015 |
Jan
(52) |
Feb
(22) |
Mar
(13) |
Apr
(17) |
May
(22) |
Jun
(36) |
Jul
(18) |
Aug
(41) |
Sep
(71) |
Oct
(60) |
Nov
(49) |
Dec
(43) |
2016 |
Jan
(60) |
Feb
(13) |
Mar
(21) |
Apr
(28) |
May
(23) |
Jun
(39) |
Jul
(17) |
Aug
(37) |
Sep
(33) |
Oct
(15) |
Nov
(22) |
Dec
(20) |
2017 |
Jan
(27) |
Feb
(40) |
Mar
(48) |
Apr
(19) |
May
(29) |
Jun
(2) |
Jul
(19) |
Aug
(36) |
Sep
(18) |
Oct
(10) |
Nov
(11) |
Dec
(5) |
2018 |
Jan
(5) |
Feb
(4) |
Mar
(5) |
Apr
(3) |
May
(4) |
Jun
(17) |
Jul
(7) |
Aug
(7) |
Sep
(12) |
Oct
(8) |
Nov
(2) |
Dec
|
2019 |
Jan
(8) |
Feb
(5) |
Mar
(3) |
Apr
(5) |
May
(3) |
Jun
(2) |
Jul
(8) |
Aug
(7) |
Sep
(3) |
Oct
(12) |
Nov
(7) |
Dec
(1) |
2020 |
Jan
(8) |
Feb
(3) |
Mar
(7) |
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(25) |
Sep
(5) |
Oct
(3) |
Nov
(7) |
Dec
(16) |
2021 |
Jan
(11) |
Feb
(10) |
Mar
(16) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From:
<car...@te...> - 2004-03-08 23:39:28
|
Hello: > Is this a defect in the .NET provider Yes, i will fix it tomorrow, thanks very much. -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Derek M. A. Lee-W. <de...@fa...> - 2004-03-08 22:34:53
|
I'm trying to read a BLOB by doing the following: string sql = "SELECT id, added_on, taken_on, caption, description, width, height, data " + "FROM image " + "WHERE id = " + id ; [snip] int imageLen = (int) r.GetBytes(7, 0, null, 0, 0) ; Log.Debug("imageLen=" + imageLen + " bytes") ; data = new byte [imageLen] ; r.GetBytes(7, 0, this.data, 0, imageLen) ; The first call is supposed to give me the size of the BLOB (when the buffer is null), based on the docs, and this is what I also do when working with DB2 and SAPDB. FireBird is ALWAYS returning 8 as the image length. Is this a defect in the .NET provider, or am I supposed to do this differently with FireBird? I saw an example in the archives where someone simply allocated a HUGE buffer, and I suppose I _could_ do that, but it seems to be a bit of a waste. Derek -- Derek M. A. Lee-Wo Email: (Home) de...@le... (Work) dl...@vo... Fax: (US) 413-826-0641 (UK) 08701 338414 "Those who will not risk cannot win" - John Paul Jones |
From:
<car...@te...> - 2004-03-08 19:37:45
|
Hello: > When I then try to create a table using the Embedded server, I get an > FBException "unsuccessful metadata updateTABLEA". I have done a little test and i got the exception only if the table already exists. -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From:
<car...@te...> - 2004-03-08 19:23:30
|
Hello: > ArrayList _list = new ArrayList(); > > while (_reader.Read()) > { > _list.Add(_reader.GetInt32(1)); > } > > _list.ToArray(typeof(float[])); > > that will add 1000 values to an arraylist and after cast it to an float > array. There is nothing more eficient? In first i think that no, but why are you reading data as an integer and casting them to float at the end ?? ( i mean why you are not reading it directly as float ?? ) -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: <ja...@er...> - 2004-03-08 18:39:45
|
Hi experts=2C it=27s a general database question and I am sure you have an answer=3A I have an array field (although it could be any kind of field) and I want to retrieve 1000 rows=2E There is something more efficient than this code=3A ArrayList =5Flist =3D new ArrayList()=3B while (=5Freader=2ERead()) = =7B =5Flist=2EAdd(=5Freader=2EGetInt32(1))=3B =7D =5Flist=2EToArray(typeof(float=5B=5D))=3B that will add 1000 values to an arraylist and after cast it to an float array=2E There is nothing more eficient=3F Thanks=2E Jesus ----------------------------------------------------------------------- Edici=F3n Limitada del nuevo disco de David Bisbal=3A Buler=EDa=2E Cons=ED= guelo con un 18=25 de decuento=2C solo por 15=2C50 =80 http=3A//www=2Eeresmas=2Ecom/banners/promo=2Ehtml=3Fzanox |
From:
<car...@te...> - 2004-03-08 17:35:49
|
Hello: > Any ideas? Can you send a test case ?? -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Tobias G. <tob...@ca...> - 2004-03-08 15:44:31
|
Hi! When I then try to create a table using the Embedded server, I get an FBException "unsuccessful metadata updateTABLEA". The same code, just with ServerType=1 replaced by ServerType=0 works. Any ideas? There is nothing unusual in the SQL code: 'CREATE TABLE ' + Name + '(' + 'field1 integer not null,' + 'field2 varchar(10),' + 'field3 varchar(100),' + 'PRIMARY KEY (field1)'+ ')'; Tobias PS: working with the current CVS version of 1.6 |
From:
<car...@te...> - 2004-03-08 13:27:29
|
Hello: > I will ask about this in a Borland newsgroup, maybe this is a problem > with other provieders too. Thanks :) , let me know the answers if you can :) -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Tobias G. <tob...@ca...> - 2004-03-08 12:22:55
|
Carlos Guzmán Álvarez wrote: > ) , maybe these designers doesn't work with providers outside Microsoft > and Borland :P I will ask about this in a Borland newsgroup, maybe this is a problem with other provieders too. |
From:
<car...@te...> - 2004-03-08 12:01:31
|
Hello: > The only problem is, that you can't create a Dataset using the table > mappings property of FbDataAdapter. For some reason > Borland.Studio.TypeMappings.DataTableMappingCollectionDialog raises an > exception complaining about a Null reference. > Maybe someone has an idea if this is a problem with the > firebird-net-provider or with Borland? Another user some time ago reported a similiar problem in Visual Studio 2003 ( it sows an invalid datatype conversion message if i remember well ) , maybe these designers doesn't work with providers outside Microsoft and Borland :P -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Tobias G. <tob...@ca...> - 2004-03-08 12:00:54
|
Hi, Rodrigo Abreu Oliveira wrote: > I'm using delphi 8 for .NET, but I do not obtain to > find a form to connection. Just select components/installed .NET components, enter "Firebird" as Category, press "Select Assembly" and add FirebirdSql.Data.Firebird.dll. Now you can drop the Firebird components on a WinForm (!) using the form designer. The only problem is, that you can't create a Dataset using the table mappings property of FbDataAdapter. So you have to fill your Dataset "manually". Tobias |
From: Tobias G. <tob...@ca...> - 2004-03-08 11:55:44
|
Hi, Jáder wrote: > I need register the components FB of yours assembly > > FirebirdSql.Data.Firebird.UnitTest.dll. How I do this? Just select components/installed .NET components, enter "Firebird" as Category, press "Select Assembly" and add FirebirdSql.Data.Firebird.dll. Now you can drop teh Firebird components on a WinForm using the form designer. The only problem is, that you can't create a Dataset using the table mappings property of FbDataAdapter. For some reason Borland.Studio.TypeMappings.DataTableMappingCollectionDialog raises an exception complaining about a Null reference. Maybe someone has an idea if this is a problem with the firebird-net-provider or with Borland? Regards, Tobias |
From:
<car...@te...> - 2004-03-08 11:55:29
|
Hello: > Thanks for answer. I understand what happened :) > But a still have problem :( Huummmm .... the problem is: 1. DbDataAdapter.Update calls ExecuteReader. 2. In ExecuteReader the provider transforms the command text as SELECT * FROM TEST_DELETE 3. DbDataAdapter.Update closes the data reader without calls to FbDataReader.Read and Firebird doesn't perform the row deletes. Now the tip is how to solve this, we can add, to the FbDataReader.Close method, a pice of code like this: if (this.position == STARTPOS && this.command.CommandType == CommandType.StoredProcedure) { this.Read(); } And it will work. Opinions ?? -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From:
<car...@te...> - 2004-03-06 15:16:26
|
Hello: > Thanks for answer. I understand what happened :) > But a still have problem :( Ok i will try to review it later. -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: olegmad <ol...@ya...> - 2004-03-06 15:11:00
|
> Ask microsoft ;), the only reasin i see for this is that they use > FbDatareader.NextResult to process batch commands ;) Thanks for answer. I understand what happened :) But a still have problem :( I changes my TEST_DELETE stored procedure (return integer 345): ------------------------ SET TERM ^ ; CREATE PROCEDURE TEST_DELETE ( ID BIGINT) RETURNS ( "OUTPUT" INTEGER) AS BEGIN delete from test where :ID = ID; OUTPUT = 345; suspend; END^ SET TERM ; ^ ------------------------ Exception gone, all ok, but changes not commited :( /~~~~~/ // Delete first row. DataRow row = table.Rows[0]; row.Delete(); FbCommand deleteCommand = new FbCommand("\"TEST_DELETE\"", connection, transaction); deleteCommand.CommandType = CommandType.StoredProcedure; FbCommandBuilder.DeriveParameters(deleteCommand); deleteCommand.Parameters[0].SourceColumn = "ID"; adapter.DeleteCommand = deleteCommand; // row.RowState = Deleted !!!!!!!!!!!!!!!!!!!!!!!!!!! adapter.Update(table); // row.RowState = Detached !!!!!!!!!!!!!!!!!!!!!!!!!! transaction.Commit(); /~~~~~/ When i see table in my database - i see this row, it not deleted. Why? |
From:
<car...@te...> - 2004-03-06 14:55:42
|
Hello: >> In my example i use deleteCommand for call stored procedure which delete >> data. How provider may call select * from "TEST_DELETE"??? > > Ask microsoft ;), the only reasin i see for this is that they use > FbDatareader.NextResult to process batch commands ;) To clarify this, the provider transforms the TEST_DELETE to select * from TEST_DELETE because DbDataAdapter.Update is making a call to ExecuteReader ;) -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From:
<car...@te...> - 2004-03-06 14:39:13
|
Hello: > In my example i use deleteCommand for call stored procedure which delete > data. How provider may call select * from "TEST_DELETE"??? Ask microsoft ;), the only reasin i see for this is that they use FbDatareader.NextResult to process batch commands ;) -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: olegmad <ol...@ya...> - 2004-03-06 14:22:13
|
> > adapter.Update(table); // EXCEPTION HERE !!!!!!!!!!!!!!!! > > This will call FbCommand.ExecuteReader method, the provider will > transform the command text into: > > select * from "TEST_DELETE" > > As TEST_DELETE has no return values firebird will throw an exception. > > You can try using EXECUTE PROCEDURE sintax, or returning at least one > value ( for example the number of rows affected ;) ) In my example i use deleteCommand for call stored procedure which delete data. How provider may call select * from "TEST_DELETE"??? ------------------ FbCommand deleteCommand = new FbCommand("\"TEST_DELETE\"", connection, transaction); deleteCommand.CommandType = CommandType.StoredProcedure; FbCommandBuilder.DeriveParameters(deleteCommand); deleteCommand.Parameters[0].SourceColumn = "ID"; adapter.DeleteCommand = deleteCommand; /// !!!!!!!!!! it's NOT select stored procedure !!!!!!!!!! ------------------ I am waiting your feedback. :) |
From:
<car...@te...> - 2004-03-06 13:54:38
|
Hello: > Hi Carlos! Iglad see u again! :) :) > Please fix it. Fixed in both 1.5 and 1.6 sources, thanks very much. -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From:
<car...@te...> - 2004-03-06 13:34:20
|
Hello: > adapter.Update(table); // EXCEPTION HERE !!!!!!!!!!!!!!!! This will call FbCommand.ExecuteReader method, the provider will transform the command text into: select * from "TEST_DELETE" As TEST_DELETE has no return values firebird will throw an exception. You can try using EXECUTE PROCEDURE sintax, or returning at least one value ( for example the number of rows affected ;) ) -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: olegmad <ol...@ya...> - 2004-03-06 12:54:52
|
Hi! When i try update data in database (i use data adapter for this), i catch exception :( What i do wrong??? Here my example: using (FbConnection connection = new FbConnection(ConnectionString)) { connection.Open(); FbTransaction transaction = connection.BeginTransaction(); FbCommand selectCommand = new FbCommand("\"TEST_SELECT\"", connection, transaction); selectCommand.CommandType = CommandType.StoredProcedure; FbCommandBuilder.DeriveParameters(selectCommand); // Get data table. FbDataAdapter adapter = new FbDataAdapter(selectCommand); DataTable table = new DataTable(); adapter.Fill(table); // Delete first row. table.Rows[0].Delete(); FbCommand deleteCommand = new FbCommand("\"TEST_DELETE\"", connection, transaction); deleteCommand.CommandType = CommandType.StoredProcedure; FbCommandBuilder.DeriveParameters(deleteCommand); deleteCommand.Parameters[0].SourceColumn = "ID"; adapter.DeleteCommand = deleteCommand; adapter.Update(table); // EXCEPTION HERE !!!!!!!!!!!!!!!! transaction.Commit(); } -------------------------- Exception text: An unhandled exception of type 'FirebirdSql.Data.Firebird.FbException' occurred in system.data.dll Additional information: Dynamic SQL Error SQL error code = -84 procedure TEST_DELETE does not return any values At line 1, column 10. ----------------- I create table and two stored procedure like this: SET TERM ^ ; /*************************************************************************** ***/ /*** Stored Procedures ***/ /*************************************************************************** ***/ CREATE PROCEDURE TEST_DELETE ( ID BIGINT) AS BEGIN EXIT; END^ CREATE PROCEDURE TEST_SELECT RETURNS ( ID BIGINT, NAME VARCHAR(64)) AS BEGIN EXIT; END^ SET TERM ; ^ /*************************************************************************** ***/ /*** Tables ***/ /*************************************************************************** ***/ CREATE TABLE TEST ( ID BIGINT NOT NULL, NAME VARCHAR(64) NOT NULL ); /*************************************************************************** ***/ /*** Primary Keys ***/ /*************************************************************************** ***/ ALTER TABLE TEST ADD CONSTRAINT PK_TEST PRIMARY KEY (ID); /*************************************************************************** ***/ /*** Stored Procedures ***/ /*************************************************************************** ***/ SET TERM ^ ; ALTER PROCEDURE TEST_DELETE ( ID BIGINT) AS begin delete from test where :ID = ID; end ^ ALTER PROCEDURE TEST_SELECT RETURNS ( ID BIGINT, NAME VARCHAR(64)) AS begin for select ID, NAME from test into :ID, :NAME do suspend; end ^ SET TERM ; ^ |
From: olegmad <ol...@ya...> - 2004-03-06 12:35:51
|
Hi Carlos! Iglad see u again! :) I had problem when i create FbParameter. Look here: 1) When i create parameter, his FbDbType = VarChar FbParameter parameter1 = new FbParameter("param", DateTime.Now); 2) But when i create parameter in this example, his FbDbType = TimeStamp FbParameter parameter2 = new FbParameter(); parameter2.ParameterName = "param"; parameter2.Value = DateTime.Now; Please fix it. Thanks! Bye. |
From: JS.staff <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29tZXRoaW5nIHdyb25nIHdpdGggeW91ciB0cmFuc2FjdGlvbiBjb250cm9sLg0KCUFsYW4NCgkN CgkNCgkNCgkNCgktLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tDQoJVGhpcyBTRi5OZXQgZW1haWwgaXMgc3BvbnNvcmVkIGJ5OiBJQk0gTGludXgg VHV0b3JpYWxzDQoJRnJlZSBMaW51eCB0dXRvcmlhbCBwcmVzZW50ZWQgYnkgRGFuaWVsIFJvYmJp bnMsIFByZXNpZGVudCBhbmQgQ0VPIG9mDQoJR2VuVG9vIHRlY2hub2xvZ2llcy4gTGVhcm4gZXZl cnl0aGluZyBmcm9tIGZ1bmRhbWVudGFscyB0byBzeXN0ZW0NCglhZG1pbmlzdHJhdGlvbi5odHRw Oi8vYWRzLm9zZG4uY29tLz9hZF9pZBQ3MCZhbGxvY19pZDYzOCZvcD1pY2sNCglfX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KCUZpcmViaXJkLW5ldC1wcm92 aWRlciBtYWlsaW5nIGxpc3QNCglGaXJlYmlyZC1uZXQtcHJvdmlkZXJAbGlzdHMuc291cmNlZm9y Z2UubmV0DQoJaHR0cHM6Ly9saXN0cy5zb3VyY2Vmb3JnZS5uZXQvbGlzdHMvbGlzdGluZm8vZmly ZWJpcmQtbmV0LXByb3ZpZGVyDQoJDQoNCg== |
From:
<car...@te...> - 2004-03-05 22:50:34
|
Hello: >I've just been trying to write a scheduled program to sweep the database - >am I right in thinking there must be NO active connections in the pool for > sweeping to be successful?? Seems to be wqorking for me, here is my test case: FbConnection[] conns = new FbConnection[10]; for (int i = 0; i < conns.Length; i++) { conns[i] = new FbConnection(connectionString); conns[i].Open(); } FbValidation validation = new FbValidation(); validation.Options = FbValidationFlags.SweepDatabase; validation.Parameters.Database = @"c:\testdb.gdb"; validation.Parameters.UserName = "SYSDBA"; validation.Parameters.UserPassword = "masterkey"; validation.Parameters.DataSource = "localhost"; validation.Start(); validation.Close(); for (int i = 0; i < conns.Length; i++) { conns[i].Close(); } -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Alan M. <al...@me...> - 2004-03-05 22:42:23
|
> I've just been trying to write a scheduled program to sweep the=20 > database - am I right in thinking there must be NO active=20 > connections in the pool for sweeping to be successful?? > =20 > Isn't this a bit of a drawback??? > =20 > Thanks, > =20 > John you don't need to manually run sweep - you set an interval at the = server. but if you really need sweep then there is something wrong with = your transaction control. Alan |