SQL Server 2000 Scheduled DTS
I have setup the Instant Client on a Windows Server 2003 machine running SQL Server 2000 Enterprise Edition. I hav a DTS that will run fine when I am logged into the machine, but when I logout and have the DTS run from the Scheduler.
I get an error that the Oracle Driver can not be found.
I am logged into the machine locally as administrator and both SQL Server and SQL Server Agent Services run as the local administrator as well. Any ideas or suggestions as to why this doesn't work?
Thank You
Frank
Isn't OLE DB part of the OS? or is it a special download from MS ?
Thanks for your help
Frank
Similar Messages
-
DTS Import of MDB in SQL Server 2000 Drops Memo Field Data
I have used DTS in SQL Server 2000 to import an MDB filed (MS ACCESS) of a table. When the table is imported the primary key is lost and the memo field data is completely gone.
I use the tranformation option in the DTS wizard to add the primary key and make sure the data type for the memo field is varchar and has a size of 8000. I need that large size since I am storing lots of html code.
When I preview the data I see the html code that is supposed to get imported. However, when I return all rows from the table in Enterprise Manager the field is empty.
So I tried to manually copy the data from the MS Access Database into SQL Server. Could not figure out if SQL Server has an interface like MS Access to simply copy data into a table. So I linked to the tables from MS Access to the SQL Server table.
When I opened the linked table I see the data in the description field. However, if I return the rows from within SQL Server no data is present.
I have some ASP code trying to read the data in the SQL Server table. However, nothing is returned and when I run the SQL Statement, nothing gets returned. The SQL statement returns all rows. All the other data is present but nothing in the description field.
What am I doing wrong? Any suggestions anyone, please!
TIAIt is important to know the version of MS Access. I will recomend you to use nvarchar datatype instead of varchar. May be the description field contain unicode characters.
Refer this link to understand more on datatype mapping between access source and sql server destionation.
http://blogs.msdn.com/b/ssma/archive/2011/03/06/access-to-sql-server-migration-understanding-data-type-conversions.aspx?Redirected=true
Regards, RSingh -
SQL SERVER 2000 EE SP4 fails to edit DTS.
Hi!
I have dts that gives the following error while editing the back arrows :
They are called by a job that always sucessed.
The DTS are about 5 years old.
The data source is mysql.
Best regards,Hi lumiga,
SQL Server 2000 is out of Microsoft support scope. As Arthur suggested above, we would suggest you upgrade DTS Packages to Integration Services. Here are some articles for your reference, please see:
Migrating DTS Packages to Integration Services:
http://technet.microsoft.com/en-us/library/cc768544(v=sql.100).aspx
Using the DTS Package Migration Wizard:
http://msdn.microsoft.com/en-us/library/ms143496(v=sql.105).aspx
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support -
I want to move DTS packeges from sql server 2000 server to other server SQL2008R2
Kindly provide help for move DTS packeges from sql server 2000 server to other server SQL2008R2
Do you have a good technical reason for not wanting to use the Migration Workbench?
Given that it's free and does a hell of a lot of the work for you, why wouldn't you use it?
Other than that, I would say you would be on your own...
cheers,
Anthony -
Grant Agent Job Reader/Operator permission in SQL SERVER 2000
Hello Experts
Today I got a request to grant sql server agent job read access. The server is SQL 2000. It was totally new for me. I googled but couldn't find anything useful. I feel pretty uncomfortable with SQL 2000. Have never worked before. Please help.
Thanks alot in advanceHi Prasant,
If you grant a user read access to SQL Server 2000 agent jobs by adding the user to TargetServersRole role in msdb, please note that TargetServerRole is available from SQL Server 2000 Service Pack 3. Prior to SQL Server 2000 SP3 the user must be added to the
sysadmin group in order to view the jobs that are owned by sysadmin group.
Besides, if you need to grant a user permission to create/modify/delete jobs in SQL Server 2000, then the user must be added as a member of the sysadmin role.
Reference:
How to allow access to non sysadmin users to view status of sysadmin owned scheduled jobs?
Thanks,
Lydia Zhang -
Data Import from Oracle Dump to SQL Server(2000/2005)
Hi Friends,
I'm using Oracle 10g.
I've a scenario.
I've Oracle Dump file. Now i would like import in SQL Server(2000/2005).
Can any one suggest me how to do this?
Any idea,clue will be highly appreciated.I think you will need to import the data into SQL Server from an ASCII flat file using SQL Server DTS if avialable. You can use SQL Plus to extract the data outof Oracle into comma delimited flat files and then use SQL Server DTS load into the SQL Server database.
-
Help: SQL server 2000 migration to Oracle 10.1.0.2
Hi all,
I need to migrate databases from SQL Server 2000 to Oracle 10.1.0.2 on HP-UX.
I read the SQL Developer documentation, but it doesn't seem to be available for HP-UX (only Windows, Mac OS, and Linux).
If I can't use this tool, what do you suggest to do this migration?
Any info. would be appreciated.
SIStored procedures will have to be converted manually--T-SQL is far enough removed from PL/SQL that there is no choice.
DTS generally handles the data conversions ok, for standard data types, I'm not 100% sure on blobs. Standard indexes and views should come accross as well. -
Can anyone point me to a good source that can explain the advantages of using Oracle 8i vs SQL Server 2000 for Data Warehousing and business intelligence as well as for running a ebusiness ?
We have a client who is interested in SQL sever and we are an Oracle shop.
Thanks in advance.Hi,
I have the same question. But I am searching on the net for a council or vendor who gives the services for comparing different products. It is available for CRM, but i am not sure about databases.
Another I think If we can ask the client about why he has chosed sql server then we will be clear.
I see the only advantage of sql server 2000 is to have the olap, dts in built with the sql server product.
Any let me also know please. Thanks. -
[SQL SERVER 2000] Generic table exporter
Hello every body.
First of all sorry for my bad english but I'm french ;-)
My internship consits into making a generic table exporter (with a table list). Export into csv files.
I have tried 2 solutions :
1 - Create a DTS with a Dynamic Properties Task. The problem is I can easily change the destination file but when I change the table source I don't know how to remap the transformations between source and destination (do you see what I mean ?). Any idea ?
2 - Use the bcp command. Very simple but how to do when tables contains the separator caracter ? for example : If a table line is "toto" | "I am , very happy" --> the csv file will look like this : toto, I am , very happy --> problem to get back the data ( to much comma ).
Does someone has a solution ?
Last point is how to export the table structure ? For the moment, using the table structure, I generate an sql query which creates a table (I write this query in a file). Isn't there any "cleaner" solution ?
Thanks in advance and have a nice day allAnswers,
1. Use ActiveX script to transform. Refer
http://technet.microsoft.com/en-us/library/aa933459(v=sql.80).aspx
2. Replace the pipe delimiter first with comma if it is a single column and use bcp command. Refer
http://technet.microsoft.com/en-us/library/aa174646(v=sql.80).aspx
3. Regarding generating script refer
http://stackoverflow.com/questions/4058977/exporting-tables-and-indexes-from-one-sql-server-2000-database-to-another
Regards, RSingh -
Problem using type 4 driver for SQL Server 2000
Hi..
I'm getting the following error message when i attempt to connect to SQL Server 2000:
"Cannot open user default database. Using master database instead"
I am passing the proper connection url and the user name and the password.However,my application does not connect to the SQL Server.I have tried using JTurbo and Weblogic drivers.
All tables in this database have been imported using DTS and hence have "dbo" as their owner.I do not have administrator privileges on the db server.
Is there a workaround to this problem by changing some settings for ownership of the db objects?
I have already tried using :
EXEC sp_changedbowner <username>
for databases where I am not a user and it still doesn't work for these as well.
Thanks,
Jay.It might be in your DSN. Give that a check, it could be that the DSN has a default db selected and also a userID/Pwd that's incorrect for that db. Just thinking out loud.
B -
How to load oracle data into SQL SERVER 2000?
how to load oracle data into SQL SERVER 2000.
IS THERE ANY UTILITY AVAILABLE?Not a concern for an Oracle forum.
Als no need for SHOUTING.
Conventional solutions are
- dump the data to a csv file and load it in Mickeysoft SQL server
- use Oracle Heterogeneous services
- use Mickeysoft DTS
Whatever you prefer.
Sybrand Bakker
Senior Oracle DBA -
Move datafiles and logfiles (Portal 6.0 and Microsoft SQL Server 2000)
Hello,
I have installed EP 6.0 with KMC and TREX. The database is MS SQL Server 2000.
The datafiles and the logfiles of the portal are respectively located in the directory "C:\Program Files\Microsoft SQL Server\MSSQL\Data" and in "C:\Program Files\Microsoft SQL Server\MSSQL\LOG".
I want to move these files in the disk D.
How can I do it ?
Is the procedure described in the site http://support.microsoft.com/kb/224071 correct ?
I thank you for your help.
Regards,
Anne-MarieFrancesc,
Microsoft Exchange Server Integration in EP6.0
The Microsoft Exchange server (subsequently called the Exchange server) is integrated using the Microsoft Exchange server transport. This transport integrates the scheduling capabilities of Exchange Server with SAP Enterprise Portal 6.0. The following versions of Microsoft Exchange server can be integrated with the Enterprise Portal.
· Exchange Server 5.5 SP4
· Exchange Server 2000
· Exchange Server 2003
The transport uses Microsoft Collaborative Data Objects 1.2.1 (subsequently called CDO) to access data from the Exchange server.
You can check for more details on;
http://help.sap.com/saphelp_nw04s/helpdata/en/7a/ec015c8446d447a83776d40f31c84f/frameset.htm
Regards,
James -
SQL Server 2000, 2005 and 2008 migration
Hi,
we have to migrate SQL Server 2000, 2005 and 2008 to SQL Server 2014. Can anyone please help with some good links to migrate DTS and SSIS package from 2000, 2005 and 2008 to SQL Server 2014?
Regards,
Satendra SinghPlease see these links:
Migration SQL Server 2000 to SQL Server 2012
Migrating to SQL Server 2014
T-SQL Articles
T-SQL e-book by TechNet Wiki Community
T-SQL blog -
Good Morning All
Does anyone know of a script/method of where I can obtain the following SQL Server Agent Job Information: -
Job Name, Owner, Description, Enabled, Schedule Description, Last Run
I've just joined another company and I've been tasked with auditing the SQL Servers here as this has never been done before.
Many thanks
Please click "Mark As Answer" if my post helped. Tony C.--WORK for SQL Server 2000 or later
-- Get information about all jobs that exists in a specific server or
-- get information about long running jobs in a specific server.
-- PLEASE! To retrieve information about long running jobs uncomment the WHERE clause
-- in the end of file.
-- Reference:
http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1302809_mem1,00.html
-- job_state:
-- 0 = Not idle or suspended,
-- 1 = Executing,
-- 2 = Waiting For Thread,
-- 3 = Between Retries,
-- 4 = Idle,
-- 5 = Suspended,
-- 6 = WaitingForStepToFinish,
-- 7 = PerformingCompletionActions
SET NOCOUNT ON
--creating a temporary tables.
--##tbl_joblist
IF EXISTS
(SELECT 1 FROM tempdb..sysobjects
WHERE type = 'U' AND name = '##tbl_joblist')
DROP TABLE ##tbl_joblist
CREATE TABLE ##tbl_joblist (
job_id
UNIQUEIDENTIFIER NOT NULL,
last_run_date
INT NOT NULL,
last_run_time
INT NOT NULL,
next_run_date
INT NOT NULL,
next_run_time
INT NOT NULL,
next_run_schedule_id
INT NOT NULL,
requested_to_run
INT NOT NULL,
request_source
INT NOT NULL,
request_source_id
sysname NULL,
running
INT NOT NULL,
current_step
INT NOT NULL,
current_retry_attempt
INT NOT NULL,
job_state
INT NOT NULL,
ServerName
sysname NULL,
JobName
sysname NULL
--##tbl_jobs
IF EXISTS
(SELECT 1 FROM tempdb..sysobjects
WHERE type = 'U' AND name = '##tbl_jobs')
DROP TABLE ##tbl_jobs
CREATE TABLE ##tbl_jobs (
job_id
UNIQUEIDENTIFIER PRIMARY KEY,
JobName
sysname
--inserting data
--##tbl_joblist
INSERT INTO ##tbl_joblist
(job_id,last_run_date,last_run_time,next_run_date,next_run_time,next_run_schedule_id,requested_to_run,request_source,request_source_id,running,current_step,current_retry_attempt,job_state)
-- Run it as SA (1), so ‘aaa’ is a dummy login name:
EXEC ('EXECUTE master.dbo.xp_sqlagent_enum_jobs 1, ''aaa'' ')
GO
--##tbl_jobs
INSERT INTO ##tbl_jobs select job_id, name from msdb.dbo.sysjobs
--adding server name and job name into ##tbl_joblist from ##tbl_jos
DECLARE @servername sysname
SELECT @servername = @@servername
UPDATE ##tbl_joblist
SET ServerName = @ServerName, JobName =j.JobName
FROM ##tbl_joblist r
INNER JOIN ##tbl_jobs j ON r.job_id = j.job_id
WHERE r.ServerName IS NULL
--checking for long job running
SELECT 'Long job running '
SELECT
ServerName AS "Server Name",
Jobname AS "Job Name",
last_run_date AS "Last Run Date",
last_run_time AS "Last Run Time",
--CAST(LEFT(CAST(last_run_date AS varchar(8)),4) + '/' + SUBSTRING(CAST(last_run_date AS varchar(8)), 5,2) + '/' + RIGHT(CAST(last_run_date AS varchar(8)), 2) + ' ' + CAST(((last_run_time/10000) %100)
AS varchar) + ':' + CAST(((last_run_time/100) %100) AS varchar) + ':' + CAST((last_run_time %100) AS varchar) AS DATETIME) AS 'Last Run Date & Time',
job_state AS "Job State",
CASE job_state
WHEN 0 THEN 'Not idle or Suspended'
WHEN 1 THEN 'Executing'
WHEN 2 THEN 'Waiting For Thread'
WHEN 3 THEN 'Between Retries'
WHEN 4 THEN 'Idle'
WHEN 5 THEN 'Suspended'
WHEN 6 THEN 'Waiting For Step To Finish'
WHEN 7 THEN 'Performing Completion Actions'
END AS 'Job State',
next_run_date AS "Next Run Date",
next_run_time AS "Next Run Time",
current_step AS "Current Step",
current_retry_attempt AS "Current Retry Attempt"
FROM ##tbl_joblist
--For Long Running Jobs
--WHERE job_state in (0,1,2,3,6,7)
--AND (CAST(LEFT(CAST(last_run_date AS varchar(8)),4) + '/' + SUBSTRING(CAST(last_run_date AS varchar(8)), 5,2) + '/' + RIGHT(CAST(last_run_date AS varchar(8)), 2) + ' ' + CAST(((last_run_time/10000) %100) AS varchar) + ':' +
CAST(((last_run_time/100) %100) AS varchar) + ':' + CAST((last_run_time %100) AS varchar) AS DATETIME)) <= DATEADD(HOUR, -2, GETDATE())
--Cleanup
DROP TABLE ##tbl_joblist
DROP TABLE ##tbl_jobs
GO
-- Get JobSteps info
USE [msdb]
GO
SELECT
--j.job_id,
-- s.srvname,
j.name,
js.step_id,
js.command,
j.enabled
FROM dbo.sysjobs j
JOIN dbo.sysjobsteps js
ON js.job_id = j.job_id
JOIN master.dbo.sysservers s
ON s.srvid = j.originating_server_id
--WHERE js.command LIKE N'%KEYWORD_SEARCH%'
Regards,
Edvaldo Castro
Edvaldo Castro http://edvaldocastro.com MCITP Database Administrator on SQL Server® 2008 MCITP Database Administrator on SQL Server® 2005 MCTS: SQL Server® 2008 MCTS: SQL Server® 2005 MCT: Microsoft Certified Trainer MTA: Microsoft Technology Associate
MTAC – Microsoft Technical Audience Contributor CCSQLA – Cambridge Certified SQL Associate TOEIC – Test of English for International Communication -
Want to convert function in SQL Server 2000
Hi ,
i am writing this function in oracle.Could you please convert this function in SQL Server 2000 because i am new in this and dont know how to use decode function in sql.
Please following is the code for oracle.
CREATE OR REPLACE function fun ( localex varchar2,titlex varchar2)
return number
as x number;
begin
select sum ( decode (count (username),max(prereq_count),1,0) ) x into x from
SELECT
prereq_count,
username
FROM
table1
group by username ;
return x;
end fun;
Regards
VishalJust take a look example below might give you idea :
create or replace function f_makeAddress_tx (
i_address_tx VARCHAR2,
i_city_tx VARCHAR2,
i_state_tx VARCHAR2,
i_zip_tx VARCHAR2)
return VARCHAR2
is
e_badZip EXCEPTION; u279E8
pragma EXCEPTION_init(e_badZip,-20998); u279E9
v_out_tx VARCHAR2(256);
begin
p_validateZip (i_zip_tx); u279E12
v_out_tx:= i_address_tx||u2019, u2018|| u279E13
i_city_tx ||u2019, u2018||
i_state_tx ||u2019, u2018||
i_zip_tx;
return v_out_tx; u279E17
exception
when e_badZip then u279E19
return i_zip_tx || u2018: Invalid zip code.u2019;
end;
Regards,
Clint
Maybe you are looking for
-
How to handle the check box in the alv tree display
Hello, in my ALV Tree Report i have a check box in the output. I have one check box in the selection screen as select all . if this is selected then all the check boxes in the output must be selected that is (X). am using CL_GUI_ALV_TREE for this. P
-
I have used Azure managed Cache (Basic tier) in my Web App deployed on cloud service. Now I am getting exception. ErrorCode<ERRCA0017>:SubStatus<ES0007>:There is a temporary failure. Please retry later. (The request failed because the server is in th
-
Hi, I am about to install the Service Registry 10.1.3.1 on top of a patched App Server / SOA Suite 10.1.3.3. Is this supported? Thanks, Sjoerd
-
Hi gang, I've got PS CS6 installed on my Mac and working fine with my raw files (NEF) but I can't open the files in camera raw before going to PS. The option "Open with> Camera Raw" on the riht click in the finder does not exist. The camera raw exten
-
Restricting Shipto address Change in ISA B2C Webshop
Hi, I am facing problem in webshop , If somebody places an order from webshop without changing the Shipto address , in CRM shipto address is pointed to the orginal master address of the customer. But if the customer is changing is updating the accoun