Bcp Syslogins SQL65->SQL7

Mar 23, 2000

my problem is : I want to export syslogins from database SQL6.5 to syslogins SQL7.0.
I use BCP (command : mssqlBCP master..syslogins out d:empsyslogins.dat -c -Sservername -Usa -P -ed:emplogins.err)
It runs well.
AFTER to export to SQL7 database :
(command : mssql7BCP master..syslogins in d:empsyslogins.dat -c -SNEWservername -Usa -P -ed:emplogins.err)
I always have DR WATSON.
If someone has encountered this problem and solved it.
Your help will be strongly appreciate.
Patrick

View 1 Replies


ADVERTISEMENT

BCP Sql65/sql2000 Help!

Jan 9, 2002

When bcp'ing in data into an sql 6.5 table that is NOT nullable, records in the text file that contain nulls are ommited, but valid records without nulls are inserted.
However, using exactly the same table structure and files on a newly installed sql 2000 server (sp2), as soon as the first invalid record in the text file (i.e. with a null value)is encountered, bcp'ing is terminated and NO records are inserted.
I can't find any option in bcp/sql 2000 to allow me to carry out a load as before.
The help files state that the default no. of invalid records allowed is 10 (both versions sql), and explicitly setting the -m option of bcp to 10 still doesn't work.
Most of the data i receive has at least one duff record
Is there an option in sql 2000 that allows me to have x number of duff records inserted before a full rollsback occurs?

I can't find anything in technet, msdn or books online.

View 1 Replies View Related

Tempdb On SQL65

Sep 11, 2000

Hi all

I have a major problem on a Alpha machine running NT4 and SQL6.5. There is 4 databases on the server all being accessed at the same time. I seems that the tempdb is only allowing processing on one database at a time. When that thread is done it allows processing on another database. I have reinstalled SQL and recreated all the databases, but still get the same problem.

Any ideas.

Tks
De Waal

View 1 Replies View Related

Tempdb SQL65 - > SQL70

Jul 17, 2000

We have customers who use SQL6.5 and tempdb in RAM.(Our bank's application uses a lot of temporary tables by enquiry). For performance, customer uses tempdb in RAM instead of hard disk( test has been done and performance is better with tempdb in RAM. )

Customer wants to upgrade to SQL7. But, we can't put tempdb in RAM in SQL7.

My question is about SQL7 tempdb. - performance is better, the same, or bad - someone has an idea how can we put tempdb in RAM ? for instance RAMDRIVE or others programs and how is the performance ??

There is a good idea to put tempdb in RAM on SQL7 ?????? Your help will be appreciate a lot. thanks

View 2 Replies View Related

How To Get Objects Permissions Info. From SQL65?

Apr 27, 2000

I would like to compare two databases objects permission setting in SQL6.5. One is in production box and another one is in backup server. What is better and quick way to do this? Any system table is available for this information?

Thanks in advance.

Stella

View 1 Replies View Related

BCP IN SYSLOGINS - SQL 7

Jul 25, 2000

In a recent Disaster Recovery TEST, I successfully recovered some SQL Server 6.5 databases by re-installing SQL Server, applying the SP5a, restoring the application database, and then BCPing IN the syslogins. Everything went normal, as I have done this many times.

I had one SQL 7 to recover. I used the same procedures, however, the BCP in did not work. I ended up getting a Dr. Watson message (not sure if it was related to the BCP or not). Luckily I had the Logins scripted and was able to apply them as follows:
USE master
go
EXEC sp_addlogin 'user1',
0x21312144332c534025532f3a442d5e4c,
@defdb = 'DBNAME',
@deflanguage = 'us_english',
@sid = 0xf8ddfa809a05d411a56600508ba705cb,
@encryptopt = 'skip_encryption'
go

This seemed to work, and luckily there weren't many users in this database.

How do you get the syslogins in for SQL 7?

Thanks,
Carl

View 5 Replies View Related

Migrating Syslogins

Apr 6, 2001

We are looking to migrate an entire server with several databases which collectively contain every user in the company. Obviously, I would prefer to directly migrate the logins without having to make everyone reset their own passwords. Anyone know of a way to do this?

I tried dts'ing the syslogins table but it fails due to password collumn being read only.

View 5 Replies View Related

Syslogins In 6.5 - Urgent Question

Jul 18, 2001

hi,
I created a new 6.5 sql server. I brought all the logins from the old
server. I bcp out the syslogins from the old server and bcp into the new
server. There were no errors from the bcp in. Somehow, I still can't
login to the new server using the same password from the old server.
Why?
how can I fix it?

thanks

View 3 Replies View Related

Replicate Syslogins & Sysusers

Oct 22, 1999

Is it possible to have a two way replication of the Logins and Users between two servers? What we have is two SQL 7.0 servers, for an CRM package. They use the CRM replication program to move data back and forth. However, we need to keep the logins and passwords between the two machines ther same. Any thoughts on how to do this?

View 1 Replies View Related

SQL Server 20000 Syslogins

Aug 24, 2000

Just installed SQL Server 2000 Beta 2. I have a procedure that selects the suid from the syslogins table from a SQL 7.0 version that is now saying that column is not valid.
All the documentation I can find still refers to that being a valid column.
Any suggestions?

View 1 Replies View Related

Logins In Master..syslogins

Jun 21, 2001

How can you manually update the syslogins table in SQL 2000? It keeps giving me the following error:

Server: Msg 4406, Level 16, State 2, Line 1
Update or insert of view or function 'master..syslogins' failed because it contains a derived or constant field.

I used to be able to do it in 6.5.

View 3 Replies View Related

Query On Syslogins Table

Aug 17, 2004

Pls help me out with this query as

select * from master..syslogins WHERE hasaccess = 1

as it is both giving me record where hasaccess = 0 and 1

brgds

View 5 Replies View Related

Syslogins, Database Logins Script.

Dec 15, 2004

Does anyone have a script already which pulls all the logins and what databases they have public/dbo access to? I'm looking for something more than just pulling syslogins/users and their default dbname, I need a list of all the databases they have dbo access to.

Thanks, Jim

View 5 Replies View Related

Setting Permissions On Master.dbo.syslogins

Jul 23, 2005

I've got a tool that accesses syslogins to pick up some information.When I run the tool, I get the error message that sasys that my logindoes not have sufficient permissions to read syslogins. If I run undermy admin ID, everything is fine. HOWEVER, the intention is that thistool will be used by non-DBA staff members so we have a generic idcreated to run this tool specifically (non-DBA account).OK, so I go to Enterprise Manager and open up the master database, goto syslogins and add my non-DBA id to the permissions list as havingSELECT access, and click on EXECUTE.BOOM! No sign of my permissions being set.Am I missing something? If so, what do I need to do to set permissionsagainst this view?

View 1 Replies View Related

Copy SQL7 To SQL7

Dec 5, 1998

How can I copy a SQL 7 database from one server to another? Please tell me all the ways because I've tried the obvious and it doesn't work. (backup and restore - won't go from one server to another, DTS transfer object Wizard - does a whole pile of errors and doesn't do stored proceedures and trigures). Thanks for help in advance. Also, what is the email address to post to the listserv and where is the FAQ for SQL7? Most of my listserv's tell you where to post right at the bottom of the digest I get - any chance you guys would do that with this list? Thanks again.

View 6 Replies View Related

SQL7 Ans SP2

Jul 16, 2000

Hi there,

After installing SP2 we encounter a problem with MMC. When selecting a DB we recieve a RunTime error? And the DB items/properties are not shown.
Is there anyone with the same problem and knows how to fix this? I search the MS site for more information but there is nothing on it.

Danny

View 1 Replies View Related

MS SQL7 & BO SQL7

Apr 17, 2000

Is MS SQL 7.0 have any difference/incompatibility problem with the BackOffice's SQL 7.0?

anybody can clarify this to me please... tq!

View 2 Replies View Related

SQL7.0 Installation On NT4.0

Feb 11, 2002

I am going to install SQL7.0 on the current NT4.0 with SQL6.5 on it by uninstalling SQL6.5 first and then installing (not upgrading through Wizard) SQL7.0.

Here are the questions I need help with:
1. Should I convert the database after the installation of SQL7.0 or directly restore the SQL6.5 databases backup?
2. If I need to convert the databases, How and in what way?
3. Which way is better upgrade or installation?

Thank you ahead of time

John

View 2 Replies View Related

SQL7 E-mail

Apr 2, 2001

I am looking for documentation/information on how to configure SQL7 so that I
can use SMTP for delivering e-mail.

I have other applications which use SMTP for delivering our e-mail.

I don't have Exchange. Internally we use GroupWise for our mail system.

Thanks in advance!!!

View 1 Replies View Related

SQL7.0 Running 100%

Jul 11, 2001

Current system 2 x 500mhz pIII 512MB ram, System mirrored and data raid 5 30GB made from 3 disks. All server is running in CA TNG. an Asset management DB and Software Delivery database. But the poor server runns most of the time at 100% 65% being used by SqlServer process. Does/Can anyone recommend any tweaks upgrades that may let the server take a breath in and out ie will more memory speed thing up faster processors or more disk.

Thanks

Nigel

View 4 Replies View Related

DTS AS/400 --> SQL7. How To Get Job Working

Sep 27, 2001

Hi,

i'm brand new in the sql server world so maby this is an easy problem.

I have to get data from AS/400 to SQL7. I've created a package with a client acces odbc driver and an sql driver which transfers the data of an entire table. When i execute this it works fine.

Now i want to shedule this (shedule package). When i start this job it doesn't work.


This is the error i get:

DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147008507 (80074005) Error string: Unspecified error Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 1100 Error Detail Records: Error: -2147008507 (80074005); Provider Error: 0 (0) Error string: Unspecified error Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 1100 Error: -2147467259 (80004005); Provider Error: 5 (5) Error string: [IBM][Client Access ODBC Driver (32-bit)][DB2/400 SQL]Communication link failure. COMM RC=0x5 Error source: Microsoft OLE DB Provider for ODBC Drivers Help file: Help context: 0 DTSRun OnFinish: DTSStep_DTSDataPumpTask_1 DTSRun: Package execution complete. Process Exit Code 1. The step failed.


on the server i've installed client access as well and created the same odbc driver (with the same name). But it still doesn't work.

Can anybody help me please??

View 1 Replies View Related

Upgrade SQL 6.5 To SQL7.0

Oct 12, 2001

I have a database on a 6.5 server but wish to upgrade this database to a sql 7 database. But I would like to test this first on another server which is a sql 7 server. Is it possible to restore a 6.5 backup to a SQL server 7.0 server?

Thanks in advance..

View 2 Replies View Related

Filegroups In Sql7

Jul 21, 2000

Is there a way to list all the tables in each of the filegroup
in a database. I have a database with 7 filegroups and would like
to have a list of tables in each filegroup
Sp_helpfilegroup gives you list of filegroups and the names of files

View 1 Replies View Related

Sql7.0 Dts Package

Jul 25, 2000

hai,
i unable to import/export from sql7.0 database to text file in windows 98 system . can anybody help me ?

View 2 Replies View Related

SQL7 SP2: Add'l Help File?

Jan 4, 2001

I recall seeing something about an extra / additional / enhanced / second version of Help that is available after installing SQL7 SP2. Does anyone know anything about it, such as where to find it? Thanks.

View 1 Replies View Related

Clustering Sql7

Aug 11, 2000

I need some documentation on how to trouble shoot clustering SQL7EE. I have setup the cluster and looks like it is working but I missed somthing. When I test a failover by pulling the Network cable to the main network not the heartbeat network both boxes lock up. I can failover by powering down one box and using the MSCluster Admin. I am using NT40 6a on Dell PowerEdge 2400 and PowerValut 211s

View 3 Replies View Related

SQL7 SP MDAC

Sep 17, 2000

Hi folks. Got a real doozy going. One of the network techs reinstalled NT4 SP5 on a server. This reverted the SQL driver back to 2.something. Now sqlserveragent jobs will not run.
I have tried to instal MDAC 2.5, but it doesn't change the driver up to the new 3.xxx driver. I searched around on here and folks said that you have to move the MDAC executable to a new directory. for the new MDAC I don't see MDAC.EXE. I did find MDAC.COM and renamed that. Tried to rerun MDAC 2.5 but still got the old SQLSRV32.Dll.
Uninstalled SQLServer and reinstalled. still got the old SQLSRV32.Dll.
Tried to apply SQLServer SP1. It died.
Found that I am to shutdown some services. Did that. SP1 still dies.
Tried to apply SQLSERVER SP2. It tries to pick up where it died and it dies again.
SO, I'm currently uninstalling SQLServer, reboot, installing SQLServer, reboot, Trying SP2 again.
Didn't think that it was brain surgery just to install a new flippin version of the ODBC driver.. SHEEZ!!!!

View 4 Replies View Related

Sp_helprevdatabase For SQL7?

Mar 6, 2000

Does anyone know of a sp similar to sp_helprevdatabase (SQL 6.5) for SQL 7.0? Will I need to use SQLDMO or can I use DTS somehow.

Thnxs.

View 2 Replies View Related

Security On The Web!(ASP,VB, SQL7)

Mar 4, 2000

I am using ASPs in my VB6 script to call an SQL 7 database. What security issues shd be considered? How will the IIS security be handled with NT4 & SQL7 security?
Any suggestions wld be highly appreciated!
Thanks in advance!
Adie

View 1 Replies View Related

Win2k And SQL7

Apr 3, 2000

Starting with Win2k you are not suppossed to have to install MDAC, as it comes with the OS. What about when I install SQL7 and it automatically installs MDAC. Do I have to reinstall MDAC in this case?

View 2 Replies View Related

Japanese And SQL7

Mar 27, 2000

This is a very confusing question. Let me start:
I need to know can I use Japanese characters in SJIS format with American SQL 7 on Win2K. I must be able to integrate a Japanese language database and an English language database on one platform. Since most people working on this project are bilingual, it would be OK to get Win2K Japanese. But I am not sure how to get SQL Japanese in the states, where I am working now.

Can you helP?

Thanks
Taisho

View 2 Replies View Related

SQL7 Backup

Nov 17, 2000

I need to backup my sql7 through the network share.
I have two servers both have SQL7 and only one has a backup tape drive (which is my production database). I want to be able to backup to the tape and to the a share drive on the second server. The backup to the tape work fine but if I want to backup to share drive locate to the second server I can't see the share where I want to put the backup. Do you Know what I am doing wrong ?

Thanks.
Mtraore.

View 1 Replies View Related

SQL7 Backup

Nov 17, 2000

I need to backup my sql7 through the network share.
I have two servers both have SQL7 and only one has a backup tape drive (which is my production database). I want to be able to backup to the tape and to the a share drive on the second server. The backup to the tape work fine but if I want to backup to share drive locate to the second server I can't see the share where I want to put the backup. Do you Know what I am doing wrong ?

Thanks.
Mtraore.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved