Viewing 15 posts - 1 through 15 (of 59 total)
I am using sql server 2008 R2. And I may have more than 1000 values in m y temp table and value pass this all to UDF.
July 12, 2012 at 8:01 am
Thank you very much. I just jumped without checking book online.
June 6, 2012 at 2:37 pm
I got it on my own.
Below is the Answer:
SELECT SUBSTRING(@desc, PATINDEX('%[$]%', @desc)-11,11)
May 11, 2012 at 10:06 am
And yes. I have 15-16 different color so right now I am repeating code for 15 times with different color in where condition.
Do you have any better way of...
January 24, 2012 at 1:43 pm
Sorry for replying late.
And thanks for your awesome solution. It's what I wanted in my actual scenario.
Thanks Again
January 24, 2012 at 1:39 pm
Thanks for your response.
But How Can I pass the values of temp table to the store procedure?
December 29, 2011 at 9:07 am
sample Source table is
CREATE TABLE #TABLEA
(
Id INT,
RowNo Int
)
INSERT INTO #TABLEA
SELECT 1,20
UNION ALL
SELECT 2,40
UNION ALL
SELECT 3,10
SELECT * FROM #TABLEA
and I need to compute 2 more column
Expected Result:
Id ...
September 1, 2011 at 12:54 pm
No we don't have the start and end column.
I need to computed it on the fly and then insert into temp table with all 4 column.
From source ,only 2 column...
September 1, 2011 at 12:45 pm
Also Sorting TableB on ID column for update.
August 29, 2011 at 1:04 pm
Sorry for not giving the enough detail.
1)Importance in TableA is not repeating.
2) I am sorting on Importance column.
3) percent column total is exact 100.
4) I am using SQl servere R2
August 29, 2011 at 1:04 pm
Thanks Gila,
Nice way of doing Insert and update auditing . I appreciate you solution.
But My requirement got changed and now I have to do it using stored proc so It...
August 25, 2011 at 2:39 pm
Nice way of doing Insert and update auditing .
But My requirement got changed and now I have to do it using stored proc so It made my work so eazy.
Thanks
August 25, 2011 at 2:38 pm
I solve it by my self through reading some articles.
Thanks
August 25, 2011 at 2:35 pm
Can I create trigger on Table ?? I mean logic that check that any update statement occur on the table or not and if occur then insert old rows...
August 25, 2011 at 11:46 am
Viewing 15 posts - 1 through 15 (of 59 total)