473,698 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

To Create Unique table names and access them in code...

adi
Hi all,
My program is a central data processing application built in ASP.
We have different companies that use different web pages on another web
application (from different countries) to load some inventory data
(merchandise - clothes).

Here is my requirement: Load different types of data (in different
formats) into a common set of tables, to do this I have to first
filter, do lookup's, use cross-reference tables on this data and then
load it into a couple of tables.
Since data is so different everytime, I want to have one main stored
procedure in which I can build the table (I know the format of this
data so I know what columns/types to create) into which I will feed the
data.
After this I will create other stored procs/udf's that reference this
table (probably from the same main stored proc) 'cleanse' the data
before loading into the actual tables.

How feasible is my approach? (if you can call it one :-) I do not want
to have seperate tables for each country, that will be too many and so
this plan...

If not any other ideas will be really helpful.

thanks much

Jan 17 '06 #1
3 1583
adi wrote:
Hi all,
My program is a central data processing application built in ASP.
We have different companies that use different web pages on another web
application (from different countries) to load some inventory data
(merchandise - clothes).

Here is my requirement: Load different types of data (in different
formats) into a common set of tables, to do this I have to first
filter, do lookup's, use cross-reference tables on this data and then
load it into a couple of tables.
Since data is so different everytime, I want to have one main stored
procedure in which I can build the table (I know the format of this
data so I know what columns/types to create) into which I will feed the
data.
After this I will create other stored procs/udf's that reference this
table (probably from the same main stored proc) 'cleanse' the data
before loading into the actual tables.

How feasible is my approach? (if you can call it one :-) I do not want
to have seperate tables for each country, that will be too many and so
this plan...

If not any other ideas will be really helpful.

thanks much


This is a very common requirement and there is a whole industry of
solutions for it. Microsoft's offering is Integration Services (or DTS
prior to SQL Server 2005). Since that comes free with the database
(Standard and Enterprise) it's the obvious place to start.

http://www.microsoft.com/sql/technol...n/default.mspx

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/m...S,SQL.90).aspx
--

Jan 17 '06 #2
das
That seems to be right, but we are still using SQL Server 2000 (dont
think we will move to 2005 soon)

Jan 17 '06 #3
das (Ad*******@gmai l.com) writes:
That seems to be right, but we are still using SQL Server 2000 (dont
think we will move to 2005 soon)


In SQL 2000, there is DTS which is the predecessor to Integration
Services. Not that it is really the same. They say that SSIS is a
rewrite from bottom, and works differently from DTS. (I have used
neither, so I can't really tell.)
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jan 17 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5207
by: LELAND PRINCE | last post by:
Thanks, this group has been a big help. I need to create a backup copy of a working file that changes everyday, but I need to maintain a copy from each day. Would like to create: back1.txt back2.txt .. ..
2
9951
by: Bill Holmes | last post by:
I have an A2003 front end (mdb) using ado to link the form/subforms to SQL server 2k tables and views. In SQL server, there is a view between 2 tables with a 1-1 relationship. I can edit records from this view in SQL server. However, in access, I have a form/subform that displays the records but when I try to edit I get the message "Form is read-only, because the unique table property is not set." If I remove one of the tables from the...
3
10581
by: Kent | last post by:
I am try to link a SQL 2000 table to Access 2000 using VB.Net 2003 Here is my code: Dim Con As New ADODB.Connection Dim Cat As New ADOX.Catalog Dim tbl As New ADOX.Table Con.Open(m_sAccessDbPath) Cat.ActiveConnection = Con
2
2050
by: ERI1618 | last post by:
I am trying to create a table in Access but i have a syntax error: I just want to crate a table with default values for excample create table test (column1 Text(20) DEFAULT 'This is a test') I know it works in SQL. Thanks in advance for the help.
4
3824
Ispep
by: Ispep | last post by:
Hi, unfortunately having a bit of difficulty with a question from an Open University course I'm currently doing. If you could help me out in any way I'd be grafeul (though obviously it goes without saying I'm not asking you to solve the question - that won't help come exam time :(). Anyway I have a CSV delimited file in the following format; STRING,INT STRING,INT,INT,INT,INT,INT STRING,INT,INT,INT,INT,INT STRING,INT,INT,INT,INT,INT ...
5
2627
by: MarkTingson | last post by:
Hello guys, im having trouble with this line of code. I'm trying to create a table in access using this piece of code but it says 'Object is no longer valid.' and it points to ocat.Tables.Append otbl. How can I solve this error guys? Heres the code: Dim otbl As New ADOX.Table Dim ocat As New ADOX.Catalog otbl.Name = "Table1"
1
1759
by: teneesh | last post by:
I'm attempting something new, in trying to create a table in VBA coming from excel. I saw an example using ADOB but I don't want to use that, just some plain script. I've set up this example to attempt to do it myself and once I can figure it out, I can go into production . . . please help me get rid of the ADOB thing and find a better way. Thanks, Sub CreateTable_forTP_Table() Dim rstSubjectProp, rstMarkerScore, rstStatistics,...
2
3673
by: sentimental37 | last post by:
I want to create a table in access 2007 by query not in design view. My table should look like; Serial AutoNumber Name Text Country Text I am using the following query: CREATE TABLE Details (Serial AutoNumber, Name TEXT, Country Text) But its returning an error (Sysntax error in field definition ) with AutoNumber Highlighted .Plzz help
0
2139
by: sarah2855 | last post by:
Hello, I would like to insert a pivot table in an access report.I was able to create a pivot table chart in Query -> pivot table view but I don't know how to incorporate that in reports. Is this doable at all? Thanks in advance, Sarah
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8898
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7734
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6524
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.