Viewing 15 posts - 1,246 through 1,260 (of 59,066 total)
Ah... my apologies, James. Based on your request (repeated below), I interpreted it as there would be 1 to 4 "numbers" in a single row. What you meant was "one...
July 25, 2023 at 3:41 pm
Thanks to ChatGPT for creating the temp table
DROP TABLE if exists #TempTable;
go
CREATE TABLE #TempTable
(
ID INT,
flag int,
...
July 25, 2023 at 4:40 am
Thanks to ChatGPT for creating the temp table
Let's see what the actual prompt for that was, please.
For those interested, here's a link to the prompt that I used and...
July 25, 2023 at 4:05 am
You can get it via this SQL code:
SELECT t.ID, t.flag, t.name
FROM your_table_name t
WHERE
(t.flag = 0 AND NOT EXISTS (
...
July 25, 2023 at 4:04 am
How can i adjust the substring to grab from 1 to 4 numbers in the UISeq?
SELECT UIMth = substring(t.yourcolumn, 8, 8) , UISeq = substring(t.yourcolumn, 24, charindex(' ', t.yourcolumn,...
July 25, 2023 at 3:57 am
Nothing, anywhere, is perfectly secure. There are always vulnerabilities. We just don't always know what they are until it's far too late.
However, I still land where I always land...
July 24, 2023 at 1:53 pm
There are also hidden dangers to "Autonomy" and that is the danger of being "forgotten" or "pigeon-holed" or coming across as a bit arrogant. For example, if you answer the...
July 24, 2023 at 3:30 am
This is a beautifully written article and the order of revelation is spot on. Of course, I cannot be sure but it looks like something that AI would write (and,...
July 24, 2023 at 2:58 am
One of the things that people seem to forget it that it was almost 2023 by the time 2022 came out. It may have gone past the "plan the funding...
July 22, 2023 at 11:06 pm
Thank you so much, Jeff! I was looking for something like xp_DirTree. Will try it out. Thanks.
Although it's more than a decade old, good things don't need to change...
July 22, 2023 at 10:48 pm
Hi everyone,
I have a directory of many csv files such as
C:\Temp\NP-001.csv
C:\Temp\NP-002.csv
C:\Temp\NP-003.csv
In each csv file, there are 5 columns: Name, DOB, MemberID, Address, Email
We need to somehow loop through each...
July 21, 2023 at 7:24 pm
But it blows up when I try:
Select * From Query1 Where tmpResult1 = 'D'
That, good Sir, is what I'm talking about being the problem. That is...
July 21, 2023 at 7:13 pm
I still think it's screwy that SQL Server made a query plan that does column computations BEFORE removing rows according to conditions in the Where clause.
In calculated columns...
July 21, 2023 at 2:40 pm
I think you may have correctly identified the problem... Someone who is more knowledgeable about PoSh than I may have a bit of magic that I don't know about but...
July 21, 2023 at 12:36 am
If I'm reading all of this correctly, another issue with filtering the calculated columns of a view is that all of the rows must first be materialized and then the...
July 21, 2023 at 12:27 am
Viewing 15 posts - 1,246 through 1,260 (of 59,066 total)