Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - SQL import to tblAuthor issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SQL import to tblAuthor issue

 Post Reply Post Reply
Author
confused2xover View Drop Down
Newbie
Newbie


Joined: 27 November 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote confused2xover Quote  Post ReplyReply Direct Link To This Post Topic: SQL import to tblAuthor issue
    Posted: 27 November 2004 at 3:57pm
I seem to be having all kinds of issues using SQL 2000 DTS and importing my current user table into the forum table.  I have had to create many additional columns in my table to match the Author Table in the forum.

I have answered all of it's issues so far and created columns with the appropriate information and formatting, etc.  However, currently it is telling me that "User_code" column must be unique identifiers.

When my users sign up for my online service we have a portal site that has two levels, per company and per user in each company, so our tables are several and all reference each other.

Each user is assigned an identifier randomly generated via VBScript.  I tried to use these unique identifiers as the column to import into the "User_code" column, but the SQL DTS still tells me that the "User_code" column allows only unique identifiers.

Angry I have tried everything I could, worn the search feature in these forums out searching for information, and still I cannot figure out how to import my current users into the forum.

I did find where I could disable the encryption which was nice if I was manually entering these, but I do not have the time to enter each one of my members now or in the future, so I have to figure out how to import them from another various sets of SQL tables and set up a way for the system to import each time I get new users.

I am by no means a SQL wiz, so please be easy.

Any ideas on how I can make this work? How do I bypass the need for a unique "User_code" or auto-generate one so this will import?
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2004 at 9:20am
you haven't got auto number or anything that is Plujs 1 or something..

you might be able ot do a random generator to enter codes for each user. as it doesn't have to be spacific.
Back to Top
confused2xover View Drop Down
Newbie
Newbie


Joined: 27 November 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote confused2xover Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2004 at 12:17pm
Thank you so much for the reply and the great forum here.

Sounds like a plan, I'll giver it a try and make it generate a random set of numbers as it imports the other columns and see if this eliminates my issues.

Just as long as they are unique I should be fine?  Nothing fancy or certain string format required?

Thanks again.
Keep up the great work,
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2004 at 12:20pm
the value just has to be different ,

so you can have 425834853Username2 and dfsskdfks4=zsssd
Back to Top
confused2xover View Drop Down
Newbie
Newbie


Joined: 27 November 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote confused2xover Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2004 at 3:35pm
Thank you, I was able to import successfully! Now I am off to bigger and better things............  Big smile Lot's more to do and oh so little time....
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.