Stored Procedures seem to stump almost everyone trying to migrate from M$SQL to Postgre. In all actuality it is realitively simple.
I will start by creating a simple Employee table. Then i will create a sequence to create autonumbers for my EmployeeID column (Same as M$SQL IDENTITY(1,1)...
ooops! there is a type near the end where it states:
SELECT fn_addemp('add','your','info','like,'this');[/b]
sorry it is 2:47 AM and i am quite tired...
[COLOR=green]GO JETS!!!
Stored Procedures seem to stump almost everyone trying to migrate from M$SQL to Postgre. In all actuality it is realitively simple.
I will start by creating a simple Employee table. Then i will create a sequence to create autonumbers for my EmployeeID column (Same as M$SQL IDENTITY(1,1)...
Thanks leland however that was not the issue...
the issue was specific to vb.net syntax...
By the way
I have a little tid bit for those who constantly ask:
What about stored procedures in postgre?
YES IT IS POSSIBLE>>>
I am going to post a simple stored procdure HOW TO this weekend...
I am having a nightmare trying to retrieve data using a select statement. I can insert into my table but cannot retrieve via SELECT. I am stumped.
Using
SELECT * FROM tblemployees
returns nothing
If I use pgadmin i can retrieve my data with the exact SELECT statement above.
Discouraged...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.