Viewing 15 posts - 6,196 through 6,210 (of 59,089 total)
>>But you display only vague dates not associated with any year. I'm going to make a suggestion that you use the MySQL convention four months. It is based on...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 8:47 pm
I want to know what are the customers having missing month data based on the following data pattern. My data is present in table in below format. Please help...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 8:24 pm
Why do you think you need the locking hints at all?
Like Paul White said in the thread referenced by Brian...
As documented in Books Online, UPDLOCK takes update locks and holds...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 7:49 pm
People don't understand that a CTE is NOT executed first and then the rest of the query works against that as if it were a table with the possible exception...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 7:42 pm
@jeff - Server is optional - if not supplied it run on the local machine where bcp is executed and connects to its default instance.
But doing this is...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 2:12 pm
Heh... some would say that you got "Lucky", Lynn. I would say that it's where years of preparation and hard work have finally met a good opportunity (my definition of...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 2:06 pm
What is the difference between the second and the third answer?
Well, nothing reading the text for both answers. The fact that both answers were used is probably interesting...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 2:00 pm
Okay, I felt this would be more efficient and extensible ti done in SQL server, and I guess I thought it would be easier, but thanks I will do...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 1:56 pm
You can take this further and split the rows into columns like this
DECLARE @XMLData xml;
SET @XMLData = '<PlaceDescriptions>
<descriptions>0|Home</descriptions>
<descriptions>1|Office|False</descriptions>
<descriptions>2|Play Ground</descriptions>
<descriptions>3|School|True</descriptions>
<descriptions>4|Movie Hall</descriptions>
</PlaceDescriptions>';
WITH cteXML AS (
SELECT ...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 2:38 am
You deleted,/truncated a large amount of data, your database physical size does not autoshrink. Many suggest pre growing your data files. If you are certain that your database...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 2:24 am
Heh... you're such a "NOTty" boy! 😀 I haven't seen syntax like that in a very long time. Lot's of bloody != but incredibly little !< and !>.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 2:14 am
Sorry. I don't care if I'm not the actual owner of their software even if I've bought a license for it... they need to make turning such monitoring off a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 2:01 am
I am running it in the edit window. I have done BCP here before but it was a long time ago. Do I need to rewrite this or some...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2020 at 1:40 am
I am running it in SSMS. the site I got this form seems to be doing it here, but I could be wrong.
If you're running the command from an...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2020 at 6:43 pm
The double quote at the end of the SQL query ism't matched by a double quote at the beginning of the query. It isn't needed, anyway.
Actually, it is matched. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2020 at 6:41 pm
Viewing 15 posts - 6,196 through 6,210 (of 59,089 total)