Viewing 15 posts - 46 through 60 (of 65 total)
Also tried this:
update dbo.VerizonDetails
set totalTime2 = cast(totalTime as time)
but getting error message:
Msg 241, Level 16, State 1, Line 1
Conversion failed when converting date and/or time from character string.
January 27, 2010 at 10:16 am
I went ahead and replaced the '.' with ':', and reran the update statement:
update dbo.VerizonDetails
set totalTime2 = totalTime
still getting error:
Msg 241, Level 16, State 1, Line 1
Conversion failed when converting...
January 27, 2010 at 10:15 am
I tried this:
update dbo.VerizonDetails
set totalTime2 = cast(totalTime as time)
but got the errror:
Msg 241, Level 16, State 1, Line 2
Conversion failed when converting date and/or time from character string.
January 27, 2010 at 9:59 am
I'm stuck on this one. Don't know what to do to fix the code. Again I appreciate you posting your comments.
January 13, 2010 at 7:31 am
I went ahead and added it in the Import stmt, but still recieving the same error. Can run this successfully on your machine?
Thanks.
January 12, 2010 at 1:42 pm
This is the error I get when trying to run/debug it:
An error occured while compiling the script for the Script task.
Poject name: ScriptTask_5c78af1250a74913a5bc7015b74ecf16
Error 30002: Type 'System.AddIn.AddIn' is not defined.
Line...
January 12, 2010 at 1:14 pm
I'm just running on my local machine for development purposes and saving locallyso I don't think its a permissions thing.
January 12, 2010 at 12:43 pm
Thank you very much for the response.
November 2, 2009 at 5:38 am
Basically, all I want to do is insert all the files and filepaths into the table for a given path, For instance C:\program files\. This could be thousands of files.
October 27, 2009 at 2:09 pm
Heres the table:
CREATE TABLE [dbo].[tblSaveFilePathAndName](
[filePath] [varchar](1000) NULL,
[fileName] [varchar](200) NULL
)
Purpose: We have thousands of files that we need to sort through and find, and quickly identify where those files are...
October 27, 2009 at 12:40 pm
Awesome! Thank you very much. Really appreciate your help. I owe you a 6 pack. 🙂
September 29, 2009 at 8:02 am
Where do I check to see if the transactional rep is set to immediate?
September 28, 2009 at 3:33 pm
Ok, its transactional.
September 28, 2009 at 3:32 pm
How can I tell whether its snapshot or transactional? I'm thinking its just transactional, but I'll double check.
September 28, 2009 at 3:31 pm
I'm guessing @SSIS is the pathname? Why don't you just hardcode the path? This is a great article I found for renaming a file.
http://sqlserversolutions.blogspot.com/2009/04/copyrename-file-using-file-system-task.html
August 31, 2009 at 12:34 pm
Viewing 15 posts - 46 through 60 (of 65 total)