Viewing 15 posts - 46 through 60 (of 760 total)
ChrisM@Work (4/9/2013)
sudhirnune (4/9/2013)
Yes they has SAL.
Thanks.
DROP TABLE #Sampledata
CREATE TABLE #Sampledata (NAME VARCHAR(25), PAYMENT_TYPE VARCHAR(10), PAYMENT DECIMAL(5,2))
INSERT INTO #Sampledata (NAME, PAYMENT_TYPE, PAYMENT)
SELECT 'SUDHIR', 'SAL', 30.3 UNION ALL
SELECT 'SUDHIR', 'ADV', 10.3 UNION...
April 9, 2013 at 4:31 am
Mvs2k11 (4/6/2013)
Thanks a lot it works...
You're Welcome. 🙂
April 7, 2013 at 10:58 pm
Arjun Sivadasan (4/4/2013)
Edit: I guess you didn't know that information_schema.routines...
April 4, 2013 at 11:17 pm
Hi Arjun,
It is good that you are posting such stuff....people can learn from this.
But a lot of people who are here won't be able to understand things just...
April 4, 2013 at 3:12 am
ps_vbdev (4/3/2013)
Not a smart arse, just tired off people with misplaced self-worth.
below is an answer from a forum member for the same post
"you can apply an UPDATE based on...
April 3, 2013 at 6:31 am
I always find forum contributors that reply too posts picking up on spelling mistakes and asking irrelevant questions can never/don't have the ability to answer the problem posted.
You've always...
April 3, 2013 at 6:15 am
ps_vbdev (4/3/2013)
the logic behind how the...
April 3, 2013 at 6:12 am
You can do it using Dynamic sql as follows:
--Setting up Sample Data
Create Table Ex
(
ProductId Int,
name Varchar(20),
familyName Varchar(20),
listPrice Int,
price1 Int,
price2 Int,
price3 Int,...
April 3, 2013 at 5:53 am
How do you decide the points??....What's the logic behind it?
April 3, 2013 at 5:09 am
Here is a good article with examples about the differences between Intersect and Inner Join.
April 3, 2013 at 4:17 am
Have posted a reply here :
http://www.sqlservercentral.com/Forums/Topic1435217-392-1.aspx
You might find it useful.
April 3, 2013 at 3:53 am
Mvs2k11 (3/27/2013)
for id there would be stuname like 100 row value which should be display as columns..
If you have 100 rows to pivot and are not sure about addition...
April 3, 2013 at 3:42 am
Is there a relationship between the "Attend" table with the "Terms" table??.....
By what you have shown in the Expected Output it sure seems there is but its not visible in...
April 2, 2013 at 11:58 pm
Prashh (4/2/2013)
Thanks for the help, Mark & Vinu!This solved my problem. Thanks for your responses.
You'r welcome Prassh......You are always welcome to post on SSC and learn from here...like we all...
April 2, 2013 at 10:04 pm
Mark-101232 (4/2/2013)
WITH Numbers(N) AS (
SELECT N
FROM ( VALUES(1),(2),(3),(4) ) Numbers(N)),
Recur(N,Combination) AS (
SELECT N, CAST(N AS VARCHAR(1000))
FROM Numbers
UNION ALL
SELECT n.N,CAST(r.Combination + ',' + CAST(n.N AS VARCHAR(10)) AS...
April 2, 2013 at 5:48 am
Viewing 15 posts - 46 through 60 (of 760 total)