473,469 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Create 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 1566
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*******@gmail.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****@sommarskog.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
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...
2
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...
3
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 ...
2
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') ...
4
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...
5
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...
1
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...
2
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...
0
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.