PostgreSQL database call
From: Mark (field027_at_idonotlikejunkmail.umn.edu)
Date: 12/19/04
- Next message: vidalsasoon: "Re: inheritance problem/confusion"
- Previous message: Mike Schilling: "Re: inheritance problem/confusion"
- Next in thread: Mark: "Re: PostgreSQL database call"
- Reply: Mark: "Re: PostgreSQL database call"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 19 Dec 2004 12:08:10 -0600
I would love to see a snippet of .NET code that either:
1. Executes a raw SQL statement against MySQL or PostgreSql.
2. Executes a stored procedure on PostgreSql.
Ideally both examples would require a parameter ... for example, a select
statement with a where clause that has a changing parameter value - not hard
coded. in sql server, a stored procedure like this would be ...
create proc blah
@person_id int
as
select * from sometable where person_id = @person_id
go
But again, I'm not intersted in the SQL itself - I want to see the .NET code
that calls similar SQL/stored procedure code on MySQL or PostgreSql.
Thanks in advance!
Mark
- Next message: vidalsasoon: "Re: inheritance problem/confusion"
- Previous message: Mike Schilling: "Re: inheritance problem/confusion"
- Next in thread: Mark: "Re: PostgreSQL database call"
- Reply: Mark: "Re: PostgreSQL database call"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|