Viewing 15 posts - 856 through 870 (of 2,894 total)
CELKO (11/25/2012)
...CAST(@abc AS VARCHAR(10)) should work and it much preferred over the old 1970's Sybase CONVERT string function...
CAST and CONVERT are similar but not the same. CAST in T-SQL...
November 26, 2012 at 3:18 am
CELKO (11/23/2012)
Here we go again. Dear J.C. you do need to calm down.
"!=" has nothing to do with 1970's Sybase and/or UNIX. Yes it was used old times, but...
November 24, 2012 at 12:47 pm
Jason-299789 (11/23/2012)
Bhuvnesh (11/22/2012)
what other alternative we can take here instead of "!= "
You can use "<>" which is another notation for not equal, which is what Joe is suggestion everyone...
November 23, 2012 at 3:11 am
David McKinney (11/22/2012)
November 22, 2012 at 9:58 am
thava (11/22/2012)
...hi "Eugene Elutin"
Thanks for your response
i know very well about joins
please read my scenario and give an opinion about this
Hi Thava,
I have read your...
November 22, 2012 at 9:46 am
CELKO (11/22/2012)
Will optimizing the stored procedures improve the performance of the database while running reports.
Can you be more vague? 🙂
I can! My vague-king question is here:
How?
November 22, 2012 at 8:00 am
CELKO (11/22/2012)
I'm doing a DB review and have always been taught to write updates with a JOIN like using this syntax.
UPDATE Target
SET col_list = S.col_list
FROM Table1 AS Target
...
November 22, 2012 at 7:55 am
What is better "green" or "blue" colour?
Please read and try to understand what different JOIN types do, Then you will be able to answer your question what is "better" INNER...
November 22, 2012 at 7:27 am
CELKO (11/22/2012)
...“No matter how far you have gone down the wrong road, turn around.” -- Turkish Proverb.
It is so true!
But, why don't you follow it yourself?
😉
November 22, 2012 at 6:57 am
...if i used views or temp table
...
From you have said, you already using temp tables.
Without looking into real code, it's impossible to suggest anything specific.
Try using views and...
November 22, 2012 at 6:52 am
priti 19979 (11/22/2012)
November 22, 2012 at 5:29 am
D.Post (11/22/2012)
Make sure to check the object against the sys views.
DECLARE
@DBName NVarchar(50)
SET @DBName = 'Master1'
IF NOT EXISTS (SELECT *...
November 22, 2012 at 5:21 am
what about this:
select id, a.PartId
from #cars
cross apply (VALUES (1*[part1]), (2*[part2]), (3*[part3])) a(PartId)
where a.PartId > 0
November 22, 2012 at 4:51 am
Sean Lange (11/21/2012)
November 22, 2012 at 2:44 am
karthik M (11/21/2012)
......If so, why should i learn CLR?
...
No, you shouldn't. It's purely up to you what you would like to learn.
For example, I used to work in team...
November 22, 2012 at 2:27 am
Viewing 15 posts - 856 through 870 (of 2,894 total)