Viewing 15 posts - 406 through 420 (of 895 total)
dineshbabus (11/30/2012)
thanks..pls xplain wat does breaking of relationship means?
Breaking of relationship means any action( INSERT, UPDATE or DELETE ) that results in an entry in FOREIGN KEY table that does...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 30, 2012 at 12:35 am
dineshbabus (11/29/2012)
We can delete a row in primary table if CASCADE option is chosen On DELETE rite?
Yes. You can delete a row in the PRIMARY table if the CASCADE DELETE...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 29, 2012 at 11:26 pm
One way could be to use an INSTEAD OF trigger
The below mentioned link could be of help to you
http://msdn.microsoft.com/en-us/library/ms175521%28v=sql.105%29.aspx
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 13, 2012 at 11:33 pm
CELKO (11/6/2012)
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 7, 2012 at 1:50 am
vs.satheesh (11/6/2012)
Table Name:SalaryDetail
id name salary
1 arun ...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 7, 2012 at 1:46 am
muthukrishnan.e (11/2/2012)
SELECT @r = ISNULL(@r+'/', '')
+ t2.col4 + ' - ' + 'Rs. '...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 2, 2012 at 5:48 am
Probably something like this..
UPDATE#temp_ticket
SETclub_group_joined = CASE
WHEN club_group_id_col = @lClub_group_joined_test
THEN STRING(club_group_id_col, ',', CONVERT(date, club_group_joined_datetime))
ELSE NULL
END
WHEREclub_group_joined_datetime IS NOT NULL
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 2, 2012 at 5:44 am
After a unique clustered index is created on the view, the view's result set is materialized immediately and persisted in physical storage in the database, saving the overhead of performing...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 23, 2012 at 5:41 am
Good QOTD.
This will clear quite a few misconceptions people have about Table Variables.
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 19, 2012 at 12:56 am
patelmohamad (10/17/2012)
Kingston Dhasian (10/17/2012)
You can insert the results from a Stored Procedure into a temporary table and work on the temporary...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 17, 2012 at 12:27 am
No. You cannot use a Stored Procedure like a UDF.
You can insert the results from a Stored Procedure into a temporary table and work on the temporary table further.
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 17, 2012 at 12:17 am
phamm (10/15/2012)
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 16, 2012 at 1:12 am
Well, nobody can help with this limited amount of information
Please describe your issue and give us some sample data and the expected results as per your sample data
It would be...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 16, 2012 at 12:51 am
You can use a Modulo operator to remove the hard coding of values
DELETEtemp
FROM(
SELECTROW_NUMBER() OVER(PARTITION BY x.cStudentId,x.dtEnrollmentDate ORDER BY dtEnrollmentDate asc ) AS DSeq, x.*
FROM#temp1 x
) temp
WHERE ( DSeq % 5...
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
October 9, 2012 at 1:41 am
kapil190588 (10/2/2012)
can anyone explain me why select len(@a) as 'declared' gives output as 1
The answer to this is available in the explanation to the question( also shown below )
When n...
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, 2012 at 12:47 am
Viewing 15 posts - 406 through 420 (of 895 total)