Viewing 15 posts - 10,636 through 10,650 (of 15,381 total)
It may have let your query run but I don't think it solved your issue. The problem is that the order by specifies a case sensitive sort order but the...
September 21, 2012 at 9:26 am
This is one of the reasons it is generally considered best practice to always include schema when referring to any object. And if the schema is not in dbo it...
September 21, 2012 at 9:21 am
I am not exactly sure I understand your question but the SUM function takes only 1 parameter and you are passing it two. If you can post some ddl(create table...
September 21, 2012 at 9:18 am
I still say you are asking for nothing but trouble trying to keep this stuff stored like this but if you are insistent on doing it then I would make...
September 21, 2012 at 8:59 am
ssskumar4u (9/21/2012)
Hi,I have updated my problem statement as per given guidelines. Hope it is fine now.
Thanks
I totally agree with Eugene. I thought I might have a go at it just...
September 21, 2012 at 8:28 am
I will try one more time. Post some ddl (create table scripts) and sample data (insert statements). Incomplete sentence fragments and disjointed explanations will not generate much activity. I suspect...
September 21, 2012 at 8:23 am
There are a few ways to do this. I see that you are new around here and don't know about posting ddl (create table scripts) and sample data (insert statements)...
September 21, 2012 at 8:05 am
jwillbanks (9/20/2012)
I imported these tables, but I'm not sure how to get this information
Take a look at the first link in my signature about best practices.
I am going to...
September 20, 2012 at 2:36 pm
Lynn Pettis (9/20/2012)
declare @SQLCmd varchar(max);
select @SQLCmd = (select 'exec insert_sp ' + cast(md.sid as varchar) + ';' + char(13) + char(10)
...
September 20, 2012 at 1:47 pm
manub22 (9/20/2012)
Sean Lange (9/20/2012)
Yes it is true that sometimes you can't the code and that is exactly why I said he may be stuck with it. I would vehemently disagree...
September 20, 2012 at 1:46 pm
manub22 (9/20/2012)
September 20, 2012 at 1:28 pm
F8R (9/20/2012)
I'm new to Sql Server and honestly, I'm not very good at Database...
September 20, 2012 at 12:49 pm
rocky_498 (9/20/2012)
I can't convert or paste my store procedure here (8 Pages S.P) lot of logic involve....
If i...
September 20, 2012 at 12:37 pm
The other possible query I can think of is SELECT INTO. This wont guarantee Atomicity and Consistency as the INTO table might still be created even if the transaction was...
September 20, 2012 at 12:15 pm
rocky_498 (9/20/2012)
DECLARE @sidint
Declare InsertSID Cursor For
Select DISTINCT Sid from MDB
where ADate = dateadd(day,datediff(day,1,GETDATE()),0)
...
September 20, 2012 at 12:13 pm
Viewing 15 posts - 10,636 through 10,650 (of 15,381 total)