Viewing 15 posts - 106 through 120 (of 162 total)
Having the text of the stored procedure would help us to determine the problem. Please post it if you have it available.
February 7, 2012 at 9:56 am
You may also be able to change the default date format for your session so that it correctly interprets the pieces.
January 31, 2012 at 10:29 am
I can think of two ways, and I have done both.
The first method is to add a column in Excel that formats the numbers as you want them, typically something...
January 31, 2012 at 9:05 am
SQLKnowItAll (1/25/2012)
Where is this query being executed from; i.e. a text file, SSMS, 3rd party query editor?
As far as I recall, the code was copied from a hosted SVN service...
January 25, 2012 at 12:35 pm
Different text editors use different line terminators so it is possible that a different machine was reading whatever combination of CHAR(13) and CHAR(10) was being used to terminate the line...
January 25, 2012 at 12:17 pm
For anyone else trying to read the SQL plan files, when I downloaded them, they showed up with an "xml" extension so I had to rename them with a "sqlplan"...
January 25, 2012 at 7:01 am
Because we know that the first Thursday of a month must be within 40 days of the selected date and must have a day number between 1 and 7, I...
January 25, 2012 at 6:22 am
A CTE works only with a single statement. You appear to be trying to use several statements with the CTE; the SET of a variable, then a SELECT, then...
January 24, 2012 at 2:05 pm
Having the contents of the temporary procedures and the "offending" statements would help. Also, I am not able to view the SQL plans that are attached; I click the...
January 24, 2012 at 1:50 pm
This may be unrelated, but I had a problem once with a query that acted very strangely. Long story short, there were unprintable characters in the texgt that were...
January 24, 2012 at 1:41 pm
Let's see if I understand correctly.
1 - You want data in the "detail" section for the last five years only, 2008 - 2012.
2 - Any gifts prior to five years...
January 24, 2012 at 1:35 pm
Jonathan,
Nearly but not quite, that just gets next thursday. Not the next first thursday of the month.
I misread the original post. I thought the goal was to find...
January 24, 2012 at 1:19 pm
Having the desired output as a sample would be helpful. I see the 2006 data in the table but I don't see it in the output of the query...
January 23, 2012 at 6:04 pm
The easiest way to compound rows is to CROSS JOIN to another set. The query below returns one row for each record from the system table that stores object...
January 20, 2012 at 11:59 am
I think we use the day of the month as the "anniversary", and crossing an anniversary increments the year or the month. For example, if I was married on...
January 20, 2012 at 11:06 am
Viewing 15 posts - 106 through 120 (of 162 total)