Advertisement

04.01.2008 at 08:04AM PDT, ID: 23285989
[x]
Attachment Details

Dynamic Creation and Alteration of SQL tables from Access

Asked by jefftwilley in MS SQL Server, Microsoft Access Database

Tags: M$, Access 2003, Sql Server 2000/2005

Hello again Ladies and Gents,
Like most of you Access x-perts, I have a great table driven method of adding new tables and fields to my access database. I don't think I've actually opened or created a table in design view in years. In my TableMod table, I enter a few fields of detail for the item and the startup code does the rest. I never have to worry about it after that.

With my new found enjoyment (SQL Server), I would like to try to do the same kind of thing. And I would like to try to use the same method, down to using the same record itself, to do the creation of alteration for my SQL backside.

Scenario is, we have lots of clients. Some are Access backends, some are SQL. Up till now, the maintenance of the structure changes for the SQL side has been a manual thing. Managing these structure changes needs to happen in one place, one entry in a table, adding the same fields regardless of whether its Access or SQL.

So I go and add a few different field and table options to my TableMod table and I'm pretty sure I can create a passthrough query to feed a stored procedure that will use parameters passed from access to complete an Alter or create statement.

Here's the question then.

I KNOW I'm not the first one to do this. Has anyone already come up with a system/method of doing this that they can share? I'm more than willing to build my own, and I will if it comes to that, but I thought I'd bang this up against my x-pert buds first, and see what was out there.

Thanks already!
J
Start Free Trial
 
Keywords: Dynamic Creation and Alteration of SQ…
 
Loading Advertisement...
 
[+][-]04.01.2008 at 02:07PM PDT, ID: 21258104

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MS SQL Server, Microsoft Access Database
Tags: M$, Access 2003, Sql Server 2000/2005
Sign Up Now!
Solution Provided By: cactus_data
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.01.2008 at 02:19PM PDT, ID: 21258191

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 02:30PM PDT, ID: 21258287

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.01.2008 at 02:42PM PDT, ID: 21258389

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 02:28PM PDT, ID: 21277147

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.03.2008 at 09:24PM PDT, ID: 21279070

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 09:12PM PDT, ID: 21287054

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.05.2008 at 08:35AM PDT, ID: 21288472

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.05.2008 at 11:47AM PDT, ID: 21289166

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.05.2008 at 06:08PM PDT, ID: 21290279

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628