Viewing 15 posts - 661 through 675 (of 898 total)
You can use a Look up table for the same
DECLARE @tblDays TABLE
(
DayName VARCHAR(20),
DisplayName VARCHAR(20)
)
DECLARE @tbl_Data_Table TABLE
(
...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 20, 2010 at 5:34 am
Victor Shahar (10/20/2010)
Assuming that you use the auto statistics create & open and have all the statistics updated well, i think that it will be better to read from the...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 20, 2010 at 4:40 am
skcadavre (10/6/2010)
Kingston Dhasian (10/6/2010)
SELECT CONVERT(varchar(12), WDate, 103) + ' ' + CONVERT(varchar(28), WDate,...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 6, 2010 at 6:00 am
Removed as the solution was incorrect..
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 6, 2010 at 5:39 am
Please provide the complete code of the function and the syntax error you are getting.
Meanwhile the BEGIN...END in the below part of your function looks suspiscious
IF (@param1 null and @param2...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 3, 2010 at 1:17 am
Bhuvnesh (9/30/2010)
Thanks a lot kingston ...can u brief aboutEXECUTE sp_executeSQL @query, N'@Count INT OUTPUT', @Count OUTPUTbasically the OUTPUT parameter.
The OUTPUT parameter will allow you to use...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 30, 2010 at 2:01 am
You can use sp_executeSQL for the same
DECLARE
@Count int,
@Query nvarchar(300),
...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 30, 2010 at 1:42 am
UMG Developer (9/29/2010)
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 29, 2010 at 11:00 pm
You probably have some data in your column clean_name1 which is like say 'John is a DBA '. In this case you will get the value for len(clean_name1)-(PATINDEX('% DBA %',...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 22, 2010 at 11:31 pm
Ali Tailor (9/17/2010)
Joe
If U find the things in Ur Pocket, why ask to another? First check Ur pocket (SQL BOL) please, the forum's expert not free for answer a silly...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 19, 2010 at 2:18 am
Please provide the query you are running. What was the result you got from the query i gave you?
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 17, 2010 at 1:27 am
DECLARE @tbl_Tutor TABLE
(
TutorID INT,
TutorName VARCHAR(100)
)
DECLARE @tbl_Subject TABLE
(
SubjectID INT,
SubjectName VARCHAR(100)
)
DECLARE @tbl_TutorSubject TABLE
(
...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 17, 2010 at 12:48 am
subbusa2050 (9/6/2010)
I need to get the INSERTED...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 6, 2010 at 11:52 pm
subbusa2050 (9/6/2010)
yA MY DEAR FRND I KNOW THAT 🙂 🙂 bUT I COMMENTED THOSE LINES. sRY FOR POSTING INCLUDING MY COMMENTED LINES
You have defined a trigger on table OpportunityBase for...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 6, 2010 at 11:16 pm
Since you are doing only an INSERT, there will be values only in the inserted table and there will be no values in the deleted table. deleted table will have...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
September 6, 2010 at 10:45 pm
Viewing 15 posts - 661 through 675 (of 898 total)