Re: How to make @id or $id as parameter name in plpgsql, is it available?

Поиск
Список
Период
Сортировка
От Arnold.Zhu
Тема Re: How to make @id or $id as parameter name in plpgsql, is it available?
Дата
Msg-id 20041124071721.7B4C82469@shaucon.com
обсуждение исходный текст
Ответ на How to make @id or $id as parameter name in plpgsql, is it available?  ("Arnold.Zhu" <joint@shaucon.com>)
Ответы Re: How to make @id or $id as parameter name in plpgsql,  ("Francisco Figueiredo Jr." <fxjrlists@yahoo.com.br>)
Список pgsql-hackers
Hello, Michael Fuhr

Thank you very much for your reply, I'm looking for a method to port our application
with .Net and Sql Server 2000 to linux and mono.

Sql server 2000's stored procedure take parameter like @Id, @Name etc. Then in our C#
programs, use @Id, @Name as Select, Insert, Delete, Update commands' parameter name.
I don't want to change our C# source and stored procedure too much. It contains about
50M of C# source files, and more than 1000 stored procedures.

I want to use @id, @name as plpgsql's parameter, then I've no need to change C# source,
only change Npgsql driver not to trim "@" and stored procedure to plpgsql.

Is my description clear enough to express my thought? Waiting for your further replys.

Thanks & Regards!
         
Arnold.Zhu
2004-11-24





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: -V, --version -- deprecated?
Следующее
От: "Arnold.Zhu"
Дата:
Сообщение: Re: How to make @id or $id as parameter name in plpgsql, is it available?