Viewing 15 posts - 18,136 through 18,150 (of 26,489 total)
Please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
December 4, 2009 at 8:00 am
Where is the data coming from that you are trying to insert? I seem to missing something when I look at the code.
December 4, 2009 at 7:55 am
Unfortunately, I can't see what your package looks like, and I realize debugging an SSIS package over the internet is more difficult than SQL code, but without more info can't...
December 4, 2009 at 7:53 am
Try this. You need to do the casts in the comparision.
select
tli.iItemID,
tva.ianswerID,
CAST(tva.nvcanswer AS varchar(max)),
...
December 4, 2009 at 7:47 am
Unfortunately, we can't see what you see and you aren't giving us enough information to really help. Please provide the FULL error message(s) you have received.
December 4, 2009 at 7:34 am
It would help if provided the DDL (CREATE TABLE statements), sample data (in a readily consummable format that can be cut/paste/run in SSMS), expected results bassed on the sample data,...
December 4, 2009 at 7:26 am
Please, when you get a chance, go back and eliminate the cursor. Since there is a set-based solution, you really should use that as it should scale better than...
December 4, 2009 at 7:21 am
stewsterl 80804 (12/4/2009)
Yes that would be great. I'm new to SQL and trying to learn as much as possible.
With some of the issues I have at times here at work,...
December 4, 2009 at 7:12 am
Have to agree, this is how to accomplish this task. Too bad the OP didn't show us what they had tried.
create table dbo.Grade (
LowPercent tinyint,
...
December 4, 2009 at 7:11 am
Doesn't mean the problem is in the data. It could be a problem in the front-end.
December 3, 2009 at 3:29 pm
Personally, I'd rewrite this but here is what you should try:
SELECT PART.DESCRIPTION,
sum(case when invoice_date between '1/1/'+@Year and '1/31/'+@Year then total_amount else 0 end) as 'Jan',
sum(case when invoice_date between '2/1/'+@Year and...
December 3, 2009 at 3:24 pm
Untested as you didn't provide the necessary DDL or sample data:
select
cl.*
from
dbo.calllog cl
where
not exists(select 1 from dbo.asgnmnt asg where...
December 3, 2009 at 3:17 pm
Please provide the DDL for the tables (CREATE TABLE statements), sample data in a readily consummable format (We should be able to simple cut/paste/execute to load the tables), expected results...
December 3, 2009 at 3:12 pm
Options page. This won't, however, change the collation of character data in any of the tables. Those will still have the case sensitive collation.
Curious, why the concern? ...
December 3, 2009 at 2:54 pm
What makes you think that there are carriage returns in the datetime data?
December 3, 2009 at 2:51 pm
Viewing 15 posts - 18,136 through 18,150 (of 26,489 total)