Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
T-SQL (SS2K8)
»
Import from external database fails.
18 posts, Page 1 of 2
1
2
»»
Import from external database fails.
Rate Topic
Display Mode
Topic Options
Author
Message
miles411
miles411
Posted Wednesday, January 16, 2013 2:37 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10,
Visits: 7
I am using SQL 2008 server and an external vendor changed the particular warehouse name for the IMPORT file that I was receiving through my SQL server from them. I get an error under the SQL Server Agent stating the IMPORTFROMXXX has failed. When I open the Job that is running notice that the warehouse name under the import file script is incorrect when I change it to the new name it still fails. How do I go about correcting this? Is there same place I should be typing credentials somewhere within my SQL server so the warehouse date outside my network know who I am?
I have attached some screen shots of my issue.
Thank you,
Post Attachments
SQL 2.JPG
(
4 views,
18.31 KB
)
SQL 3.JPG
(
6 views,
42.32 KB
)
Post #1408083
Sean Lange
Sean Lange
Posted Wednesday, January 16, 2013 2:42 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980,
Visits: 8,540
miles411 (1/16/2013)
I am using SQL 2008 server and an external vendor changed the particular warehouse name for the IMPORT file that I was receiving through my SQL server from them. I get an error under the SQL Server Agent stating the IMPORTFROMXXX has failed. When I open the Job that is running notice that the warehouse name under the import file script is incorrect when I change it to the new name it still fails. How do I go about correcting this? Is there same place I should be typing credentials somewhere within my SQL server so the warehouse date outside my network know who I am?
I have attached some screen shots of my issue.
Thank you,
Need a bit more information here to offer any help. Let's start with the error message. What does it say?
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408084
miles411
miles411
Posted Wednesday, January 16, 2013 2:50 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10,
Visits: 7
It states:
Job failed.
I attached 2 screen shots to my last e-mail that I got form my SQL server.
I have attached them again here.
Post Attachments
SQL 2.JPG
(
7 views,
18.31 KB
)
SQL 3.JPG
(
3 views,
42.32 KB
)
Post #1408086
Sean Lange
Sean Lange
Posted Wednesday, January 16, 2013 3:07 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980,
Visits: 8,540
You are going to have to provide some details. We can't see your screen and we have no idea what this is doing. You said something about the file name has changed. How do you have the job setup? Is the filename hardcoded? Is it in the DB somewhere?
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408089
Sean Lange
Sean Lange
Posted Wednesday, January 16, 2013 3:09 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980,
Visits: 8,540
If you open the Job History for this job it will show you the step details. Go to the step that failed and look at the error message.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408090
miles411
miles411
Posted Wednesday, January 16, 2013 3:11 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10,
Visits: 7
Our outside vendor changed the name the of what the database warehouse was called recently and since then my users with Access that is link to our internal SQL database cannot pull the required information. I believe the name is embedded under the step dialogue box. It is a Transact-SQL script (T-SQL) type step. Under the command box is state drop table select*into XXX_XX_XXXXXX from XXX_XXXX_XXview.dbo.wh_employees.
Post #1408091
miles411
miles411
Posted Wednesday, January 16, 2013 3:13 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10,
Visits: 7
It stated: "Quit the job reporting failure"
Post #1408092
miles411
miles411
Posted Wednesday, January 16, 2013 3:14 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, January 17, 2013 8:58 AM
Points: 10,
Visits: 7
It quits the import phase of the process. It fails at that step.
Post #1408094
Sean Lange
Sean Lange
Posted Wednesday, January 16, 2013 3:18 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980,
Visits: 8,540
miles411 (1/16/2013)
Our outside vendor changed the name the of what the database warehouse was called recently and since then my users with Access that is link to our internal SQL database cannot pull the required information. I believe the name is embedded under the step dialogue box. It is a Transact-SQL script (T-SQL) type step. Under the command box is state drop table select*into XXX_XX_XXXXXX from XXX_XXXX_XXview.dbo.wh_employees.
Can you change it to the correct name?
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408096
Sean Lange
Sean Lange
Posted Wednesday, January 16, 2013 3:20 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 3:32 PM
Points: 8,980,
Visits: 8,540
miles411 (1/16/2013)
It stated: "Quit the job reporting failure"
It actually will also say "See the Job History for details". As I said previously you need open the job history so you can see what the error message says. Without that information there is way anybody knows where to begin.
_______________________________________________________________
Need help? Help us help you.
Read the article at
http://www.sqlservercentral.com/articles/Best+Practices/61537/
for best practices on asking questions.
Need to split a string? Try Jeff Moden's
splitter
.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Post #1408097
« Prev Topic
|
Next Topic »
18 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.