Subject | Re: [Firebird-general] Silly SQL Server... |
---|---|
Author | Kjell Rilbe |
Post date | 2009-10-06T14:13:59Z |
Svein Erling Tysvær wrote:
imperative/procedural programming language (or any programming language
perhaps), that you can shoot yourself in the foot with various mistakes
in program logic. But I think that's more expected than for SQL to merge
multiple rows into a single one without saying anything about it.
Kjell
--
--------------------------------------
Kjell Rilbe
DataDIA AB
E-post: kjell@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
> Not even read-only databases are completely bullet proof against userOf course, but procedures suffer all the problems of any
> stupidity. I would expect it to be possible to write a stored procedure
> in Firebird that could come up with results similar to what you report
> SQL server does:
>
> for select FieldA from D into :MyVar do
> begin
> If (MyVar is not null) then
> begin
> Update M
> Set FieldA = :MyVar
> Where...
> end
> end;
>
> Set
imperative/procedural programming language (or any programming language
perhaps), that you can shoot yourself in the foot with various mistakes
in program logic. But I think that's more expected than for SQL to merge
multiple rows into a single one without saying anything about it.
Kjell
--
--------------------------------------
Kjell Rilbe
DataDIA AB
E-post: kjell@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64