Viewing 15 posts - 46 through 60 (of 110 total)
Also, reverting back to the old jdbc driver is not an option since we need to support our product on SS2008.
Sorry, I don't have an answer, but a suggestion. If...
July 24, 2009 at 8:48 am
I have no experience with the PIVOT statement, but I did have one question for you. What do you get if you take the case statement out and just pull...
July 24, 2009 at 8:40 am
if object_id('tempdb..#totest')is not null drop table #totest
create table #totest(
clm1 int
)
insert #totest values ('5')
--begin tran
select * from #totest
commit
alter table #totest
add clm2 char(1)
select * from #totest
July 24, 2009 at 8:34 am
Here's what I came up with. A few things to note:
Getting the count of columns is done by uncommenting the section that does that, you'll see it down there...
The testing...
July 23, 2009 at 3:28 pm
Have you considered using SSIS? The package contains the connection information. You would be able to accomplish the same thing (Excel to SQL) that you are using MSAccess for now.
Another...
July 23, 2009 at 11:44 am
I just tried this bit of code, both select statements run, and it gave me the same error as well. So I imagine that whatever you had after the statement...
July 23, 2009 at 11:36 am
I cannot manipulate anything in the excel or the component that does the exporting. I have the liberty to only work on the stored proc.
Well, then it seems to me...
July 23, 2009 at 8:36 am
You did see the part about the possible duplicate sums, I hope. Just want to make sure that you have thought about the error that is inherent in my solution.
July 22, 2009 at 10:05 am
I have used a date table in the past. This would be an auto-generated table that had dates with week numbers etc. in different columns. I have a spreadsheet that...
July 22, 2009 at 10:01 am
...stored proc is configured in a component which takes in the resultset and simply exports it to a excel sheet.
Is this in SSIS or is the stored procedure itself exporting...
July 22, 2009 at 9:51 am
I'm afraid I'm the mechanic with all the broken cars. Would you really want me to help? 😉
July 21, 2009 at 10:54 am
Are each of these columns in the tblleveltolevelrel table?active,changeddate,changedmachinename
Or are they in the TempDelete table?
July 21, 2009 at 10:10 am
How many records do you get when you run each of the following statements?
SELECT tblLevelToLevelRel.Active,changeddate,changedmachinename
FROM tblLevelToLevelRel INNER JOIN
TempDelete ON tblLevelToLevelRel.GenLevelToLevelRelID = TempDelete.genleveltolevelrelid
Select * from tblLevelToLevelRel
July 21, 2009 at 9:20 am
Viewing 15 posts - 46 through 60 (of 110 total)