Viewing 15 posts - 76 through 90 (of 105 total)
I'm also interested to see if this can be done as I've been tasked to do something similar. The only two solutions I could come up with were to...
December 23, 2008 at 2:01 pm
The app is using a commandtype of SP. SSRS is also using a commandtype of SP. I was sending the exact parameters as I using on SSMS....
April 3, 2008 at 9:43 am
I'll take a look at the link provided. But what still has me stumped is when I ran a trace, the SP call is identical when compared the query...
April 3, 2008 at 8:41 am
You'll need to cast it as a varchar and not a datetime.
select CONVERT(varchar(10),CAST( (CAST(DAY(getdate()) AS VARCHAR) + '-' + CAST(MONTH(getdate()) AS VARCHAR) + '-' + CAST(YEAR(getdate()) AS VARCHAR)) AS varchar),102)
February 26, 2008 at 7:54 am
Make sure that the datatype you are inserting into is of datetime and not varchar.
February 26, 2008 at 7:49 am
Are you using a DM to look at the blocking? I wrote a similar query a few weeks back and noticed that it would return the create proc instead...
February 25, 2008 at 10:19 am
I've received that error in the past, but it's always been in the context of backing up a DB. In our case, it was a processor that was being...
February 25, 2008 at 10:07 am
Great article. I was just about to send a very similar article for submission. Guess you beat me to it:)
February 25, 2008 at 9:48 am
I see. My personal opinion is to load the data is its raw format on the DB and using SQL to do any transformations. I would suggest that...
February 25, 2008 at 9:21 am
It help out greatly if you gave us your process and what you're trying to accomplish. Can you also tell us what tool you are using to transform the...
February 25, 2008 at 9:05 am
Take out the quotes in your column name. If there is a space between Invoice and Date use brackets. Try this:
select dateadd(day, cast(right([Invoice Date],3) as integer)-1,'01/01/' + cast(left([Invoice...
February 25, 2008 at 8:40 am
Check to see that you are grabbing the full path on the for each group and not the file name only.
February 24, 2008 at 5:11 pm
Ah... I see. I was assuming that there were files involved. I've never worked on an AS400, but I'm interested on how you solve this problem as...
February 24, 2008 at 5:00 pm
This should work.
select dateadd(day, cast(right(100083,3) as integer)-1,'01/01/' + cast(left(100083,3)+1900 as varchar(4)))
February 22, 2008 at 4:46 pm
Is SSIS a requirement? If not, why not use bulk insert to load the data. For our environment, we have a table that has the file name to...
February 22, 2008 at 7:16 am
Viewing 15 posts - 76 through 90 (of 105 total)