|
-
Jun 28th, 2000, 07:50 AM
#1
Thread Starter
Member
Hi All
At the minute I have a VB6 programme that is generating and saving SQL stored procedures depending on the database and tables selected. The user selects the database they want to work with and then the tables they want to use. I have the programme running so I can insert and get fields but I can't figure out how to delete any fields or update old records. Its been suggested that I use SQL_DMO, but does anyone have any ideas as to how I can do this???? I'm using SQL Server 6.5 and am testing the generted procedures through this. Thanks in advance, Gin
-
Jun 28th, 2000, 06:28 PM
#2
Fanatic Member
Hi Gin_bee
When you say Deleting and updating old records, do you mean creating a stored procedure to do theese or using the recordset in vb to delete and append the records.
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jun 29th, 2000, 07:53 AM
#3
Thread Starter
Member
Hi Ian
I'm generating a stored procedure to alter records
-
Jul 1st, 2000, 08:51 AM
#4
Fanatic Member
In that Case
Create a stired procedure with the diffterent variables that you need and use an UPdate table Set field1 = ... WHERE field1 == ...
Hope this helps
ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Aug 13th, 2001, 03:47 AM
#5
Lively Member
I'm trying to do somehting semiliar
Originally posted by Gin_bee
Hi All
At the minute I have a VB6 programme that is generating and saving SQL stored procedures depending on the database and tables selected. The user selects the database they want to work with and then the tables they want to use. I have the programme running so I can insert and get fields but I can't figure out how to delete any fields or update old records. Its been suggested that I use SQL_DMO, but does anyone have any ideas as to how I can do this???? I'm using SQL Server 6.5 and am testing the generted procedures through this. Thanks in advance, Gin
I there i'm tying to do the same has you a SP generator, done that the problem that i have is how to Save th SP into the SQL server...
P.S. Has i'm a bit old fashion i'm using DAO, sorry
ASPWIZARD
http://www.aspwizard.co.uk
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|