Viewing 15 posts - 61 through 75 (of 1,988 total)
If you want just the month name, SELECT FORMAT(getdate(), 'MMMM')
But ideally you would return the date as is and format it at display time.
November 17, 2022 at 4:14 pm
Yes you can create a non clustered index on a heap, and yes(depending on the query/indexed and included columns) it will help.
November 9, 2022 at 8:57 pm
What I'm amazed about is the attitude surrounding software projects especially from large companies like MicroSoft. What ever happened to the idea of "Putting your best foot forward" instead...
October 25, 2022 at 1:19 pm
At a certain point it becomes a question of effort vs reward. How many things is it worth trying to parameterize that will almost certainly never be used? Does it...
October 24, 2022 at 7:48 pm
When we got our WFH authorization the expectation was made pretty clear. Work from wherever you want and in whatever conditions you want as long as you can meet goals. ...
October 21, 2022 at 6:47 pm
Perhaps, but I'm not sure that's the case. A lot of things we thought were private in the past, actually weren't private. What happened was the data was too...
October 17, 2022 at 8:15 pm
Well what is the mechanism you're using to do the inserts? That would give us a better idea of what options you have.
October 6, 2022 at 2:14 pm
Load your list of customer no's you want to look up into a table and do something like WHERE cus_no IN (SELECT cus_no FROM cus_no_stg)
September 29, 2022 at 8:59 pm
Just yesterday, I had to troubleshoot an issue where CPU was pegged at 99%, and I determined the bottleneck to be a high volume query executed by the...
September 28, 2022 at 3:20 pm
Does anyone else find the questions you just plug into SSMS boring?
September 21, 2022 at 2:15 pm
Babylon 5 and Deep Space 9 were the sci fi I grew up with, I guess I preferred the more politic/relationship/broad arcing stories over other shows like TNG.
Really hoping they...
September 19, 2022 at 9:41 pm
The proper order of precedence if that comes up in a code review is a slap to the face then you rewriting it.
August 25, 2022 at 1:56 pm
I'm still not sure why you think there is a timezone requirement.
I don't - I stated there is a time zone *offset* requirement. If you don't have the...
August 18, 2022 at 11:22 pm
I'm still not sure why you think there is a timezone requirement.
August 18, 2022 at 9:56 pm
I'm saying that there's a number of ways to get timezone without using a datetimeoffset and for that matter without even storing timezone itself because that information can often be...
August 18, 2022 at 9:06 pm
Viewing 15 posts - 61 through 75 (of 1,988 total)