Viewing 15 posts - 2,821 through 2,835 (of 5,504 total)
avi-631555 (9/14/2010)
Inserting data into a table only if it doesnot exist and if does to show me the content of the table and...
September 14, 2010 at 4:21 pm
Jeff Moden (9/14/2010)
September 14, 2010 at 12:04 pm
I tried to understand where the difference between the two "UNION'ed" statements is, but I couldn't figure it out.
First I thought GLCr and GLDb were alias for different tables, but...
September 13, 2010 at 2:43 pm
What error message do you get?
Why do you convert a date format to varchar followed by an implicit conversion back to datetime due to the month() function? Wouldn't month(Startdate))...
September 13, 2010 at 12:42 pm
Why do you need to compare it to StartDate, EndDate instead of StartMonth, EndMonth?
If the latter, you could compare it without any data type conversion. (not that I like storing...
September 13, 2010 at 12:29 pm
rikku0801 (9/13/2010)
September 13, 2010 at 9:35 am
You could try OneNote (addtl. software for your MS Office bundle) or EverNote (equivalent freeware tool).
September 12, 2010 at 3:14 am
This is the major cause for the poor performance:
/* For each record in #JoinedUsers we iterate through the following code:
(This is the block which takes the most time) */
That's the...
September 11, 2010 at 7:12 am
The basic concept doesn't sound like RBAR (if done without any kind of a loop). However, it might be better to check for duplicates during signup process and not batch...
September 10, 2010 at 2:27 pm
please provide sample data so we have something to test against (xml string, table def of target data, some sample data and your expected output).
September 10, 2010 at 5:05 am
Will the following work?
IF REPLACE(CAST(@xml.query('data(part/measure/note/pitch/step)') AS VARCHAR(10)),' ','') ='AFFG'
PRINT 'true'
ELSE
PRINT 'false'
September 9, 2010 at 4:11 pm
Is this a theoretical question or do you have to deal with a real-world scenario?
If the latter, you could test the effect by using two scenarios and compare the execution...
September 9, 2010 at 3:58 pm
It's impossible to give any advice based on the limited information available. There are just too many questions:
How long does it run when started from BIDS?
What other activities do take...
September 9, 2010 at 3:50 pm
Your cast statement in the WHERE clause will return a format like 'Sep 9 2010 8:59PM'.
Hence the messed up order.
Did you try using the same CONVERT statement in...
September 9, 2010 at 1:04 pm
Viewing 15 posts - 2,821 through 2,835 (of 5,504 total)