Viewing 15 posts - 2,401 through 2,415 (of 2,487 total)
You could also use transactions within your stored procedure. That way any changes it makes will be rolled back on failure.
Thanks
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
January 20, 2003 at 2:57 pm
Probably something a bit more robust and controllable, would be to use a DTS package. It would run on the server and pull the data in to the database.
You could...
--------------------
Colt 45 - the original point and click interface ![]()
January 20, 2003 at 2:49 pm
If/when you host a chat session, can you take us Southern Hemisphere guys into account when you set the time.
I'm not that good in the wee early hours of the...
--------------------
Colt 45 - the original point and click interface ![]()
January 20, 2003 at 2:44 pm
Would it be taht you haven't actually opened the Recordset object? You open the connection, not the recordset.
Also, probably not a good idea to advertise your server name and the...
--------------------
Colt 45 - the original point and click interface ![]()
January 20, 2003 at 2:37 pm
Sorry, I got an error when trying to post this. Didn't think it had actually made it to the list. See the topic titled "Slow Insert Response with Indexed Views"
Thanks
Phill...
--------------------
Colt 45 - the original point and click interface ![]()
January 19, 2003 at 6:35 pm
You need to do two things,
1) update the global variable gv_FileLocation to point to your directory.
2) On the line
set conExceltFile = pkg.Connections("Excel File (Source)")Make sure...
--------------------
Colt 45 - the original point and click interface ![]()
January 19, 2003 at 6:12 pm
quote:
... i'm facing difficulty from step 4 to step 5 as i'm using excel files i'm not able to set the precendence...
--------------------
Colt 45 - the original point and click interface ![]()
January 16, 2003 at 4:34 pm
Check out the following,
http://www.sqldts.com/default.aspx?6,103,246,0,0
Thanks
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
January 15, 2003 at 4:31 pm
Firstly, pasting a bit of your code would help with providing a solution.
Secondly, try assigning the value of @@FETCH_STATUS to a seperate variable for each of the loops.
Thanks
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
January 13, 2003 at 4:02 pm
quote:
1. The datatypes were datatime, i changed them to varchar, then it worked.
So the username...
--------------------
Colt 45 - the original point and click interface ![]()
January 10, 2003 at 5:34 am
Can you post the table definition that you are working with.
How are you selecting the records to export?
Thanks
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
January 9, 2003 at 3:47 pm
quote:
I have an ASP page that is inserting into our database... When i do the insert i get this error messageMicrosoft OLE...
--------------------
Colt 45 - the original point and click interface ![]()
January 9, 2003 at 3:44 pm
When you run the package through the Designer it's running on your workstation with your security context. Therefore it will be able to access the file via the C$ share.
When...
--------------------
Colt 45 - the original point and click interface ![]()
January 9, 2003 at 3:38 pm
Are you sure the server has the same connectivity as your workstation. The DTS package will execute on the machine that launched it. So when you're previewing the data and...
--------------------
Colt 45 - the original point and click interface ![]()
December 19, 2002 at 6:23 pm
We use the DTS Backup 2000 tool from the SQLDTS site. Works a treat and if permissions are set right you can perform direct transfers which preserves the layout.
http://www.sqldts.com/default.aspx?220,272,272,1,1
Thanks
Phill Carter
--------------------
Colt 45 - the original point and click interface ![]()
December 19, 2002 at 3:44 pm
Viewing 15 posts - 2,401 through 2,415 (of 2,487 total)