Viewing 15 posts - 31 through 45 (of 46 total)
please give us more details with expected result.
December 14, 2010 at 4:41 am
beginners SQL book will really help to understand the concept of Indexes.
Like why only one clustered index per table
When we say clustered index can also have non unique rows,...
December 14, 2010 at 3:44 am
U havent specified anything about the ID column.
October 27, 2010 at 12:02 am
there is nothing wrong with your SP code.
just check the exec statement.
declare @ret varchar(100)
exec sp1 @ret output
select @ret
This will definitely work.
raiserror makes no difference to the values assigned...
October 7, 2010 at 4:17 am
You need to assign the value of the sum to variable @Result
Correct the set @sql statement to the following.
SET @sql = N'SELECT @Result = SUM(' +...
October 5, 2010 at 6:23 am
you dont need to add '-1'
the following will also give the same result
SELECT a.fieldname, a.fieldlength, ISNULL(SUM(b.fieldlength), 0)
FROM fields a LEFT OUTER JOIN fields b ON a.fieldid > b.fieldid
GROUP BY a.fieldname,...
October 5, 2010 at 6:07 am
Hi ashish
thanks for the reply.
I only found 1 mdf and 1 ldf of the same name. I attached it but i didnt find anything useful in it.
August 23, 2010 at 1:24 am
this will work
Select Route from routetable where places like'%Kalaignar Nagar%' AND places like'%Kodambakkam%'
July 30, 2010 at 5:44 am
hi Paarthasarathy
when u rename a table, only the name gets changed but the Object ID remains the same. U can check this in sys.Objects table.
the Foreign keys relate to old...
July 30, 2010 at 4:37 am
hi
Subhro
Please give us some more details about your problem so that we can try to help.
Frankly speaking the screenshots are not of much use here.
June 17, 2010 at 6:37 am
Thank you Gail for the quick replies.
this database exist since a long time, and i have joined this comp 2 weeks back.
SO i am not aware why these settings are...
June 14, 2010 at 5:42 am
Hi Gail Shaw
Thanks for the reply.
About your first question : No i haven't checked this on production server, all i was testing was on my machine and couple of my...
June 14, 2010 at 5:12 am
Thanks Sharath
I checked the Execution plan.
There is an clustered index seek with a warning saying "columns with now statics" and then 1 column name and same for one more table...
June 14, 2010 at 4:35 am
Viewing 15 posts - 31 through 45 (of 46 total)