Viewing 15 posts - 256 through 270 (of 8,761 total)
Gosh, Eirikur... now you've got me asking the same as what Thomas asked...
That's an awful lot of implicit (Reverse) and explicit conversions just to handle some negative time stamps...
September 24, 2022 at 11:52 am
Just had a look at the negative timestamp values and...

Too simple!
π
Here is the code:
USE TEEST;
GO
SET NOCOUNT ON;
GO
CREATE OR ALTER FUNCTION dbo.ITVF_UXTS_TO_DT2
(
...
September 23, 2022 at 3:03 pm
Good point Jeff,
never used the functions for negative timestamps, will have to adjust the logic as the binary structure wrecks havoc on the bit-bashing approach, -1 being 0xFFFFFFFFFFFFFFFF, -2 =...
September 20, 2022 at 2:05 pm
Thank you, Jeff, for this fine article.
I found your approach very interesting as it is quite different from mine.
π
Here are the two functions I use for converting Unix TimeStamp to...
September 19, 2022 at 2:16 pm
We have a stored procedure that frequently getting blocked in production and sometimes is falling as a victim of deadlock. In normal cases, it executes usually in around 1...
September 13, 2022 at 12:25 pm
The program becomes vulnerable toΒ SQL injection if user input is added to a SQL query without change, as in the example below:
$unsafe_variable = $_POST['user_input'];
mysql_query("INSERT...
September 9, 2022 at 1:45 pm
Make no mistake, I will performance test it when I get access to a SQL 2022 instance. To me, it's not worth installing Dev Edition on my...
September 9, 2022 at 1:07 pm
I had a SQL Server 2000 system that got to 25k transactions/sec when we turned on the intranet. The intranet was too slow that day, and I told them...
September 8, 2022 at 12:47 pm
I have a saying that I borrowed from the Submarine Service about things like that... "Don't worry about the fire... the flooding will put it out"....
September 7, 2022 at 5:05 pm
I have a saying that I borrowed from the Submarine Service about things like that... "Don't worry about the fire... the flooding will put it out". π
Same as the...
September 7, 2022 at 3:19 pm
I have a saying that I borrowed from the Submarine Service about things like that... "Don't worry about the fire... the flooding will put it out". π
Same as the...
September 7, 2022 at 3:19 pm
Hi Patrick,
can you post the DDL (create table) for the tables, and sample data as an insert statement?
π
Combining the datasets on the RDBMS is much more efficient than attempting such...
September 7, 2022 at 1:19 pm
Quick question, are the data sets in a relational database, i.e. SQL Server?
π
September 7, 2022 at 11:58 am
Here is a quick sample that should get you over this hurdle
π
USE TEEST;
GO
SET NOCOUNT ON;
GO
---------------------------------------------------------------------
-- EXAMPLE 1: SPLITTING A SINGLE STRING
---------------------------------------------------------------------
DECLARE @TSTR VARCHAR(100) ...
September 7, 2022 at 11:26 am
I think all deadlocks are good.Β Job security.
Job security is a very flexible term π
π
September 6, 2022 at 3:41 pm
Viewing 15 posts - 256 through 270 (of 8,761 total)