Forum Replies Created

Viewing 15 posts - 46 through 60 (of 192 total)

  • Reply To: Breaking Biometrics

    Regarding:

    However, if I were carrying around data that was more important than the work I do now or data worth a lot of money, I don't know I'd ever enable...

    God is real, unless declared integer.

  • Reply To: Practicing (Annoying) Better Security

    we have a ton of stuff local saved (as developer), but the disks of our notebooks are encrypted. Of course this is not 100% secure, if the police storms my...

    God is real, unless declared integer.

  • Reply To: Practicing (Annoying) Better Security

    2 minutes is too few in my opinion - it happens regularly that I do something else than typing / moving the mouse (even seeing a training video could theoretical...

    • This reply was modified 2 years, 8 months ago by Thomas Franz.

    God is real, unless declared integer.

  • Reply To: Backing Up a Restoring Database

    take the database offline (or at least ensure, that nobody writes to it by executing another RESTORE DATABASE on it) and make a file copy / backup of it and...

    God is real, unless declared integer.

  • Reply To: Stairway to SQL Server Security Level 2: Authentication

    Very old article / discussion, but I disagree with the tip to set another database than master as default too

    • problems (or manual modifications of settings) when the database is...

    God is real, unless declared integer.

  • Reply To: Which Data Comes First?

    My colleague uses this in a database where the analysts could run several simulations.

    Each analyst has his own user + schema (which is the default schema for this user) with...

    God is real, unless declared integer.

  • Reply To: What is OneLake in Microsoft Fabric?

    Nice advertising article, but I (as SQL but no BI guy) have still absolute no idea, what it is for and how I could use it (or for what).

    Can I...

    • This reply was modified 2 years, 11 months ago by Thomas Franz.

    God is real, unless declared integer.

  • Reply To: Get the Most Current Row From a Detail Table

    I agree, that it could be a valid solution too (depending on your real workload).

    But you should change your query a bit to make it faster (place alias of the...

    God is real, unless declared integer.

  • Reply To: Get the Most Current Row From a Detail Table

    this may work for a customer + the last order but there are tons of other scenarios where the updates comes much more often or it is not worth the...

    God is real, unless declared integer.

  • Reply To: Simple script to de-identify data

    just did a small performance test (SQL 2022 Dev.):

    SET STATISTICS TIME, IO ON;
    DROP TABLE IF EXISTS #tmp1
    DROP TABLE IF EXISTS #tmp2

    SELECT TOP 2000000 o.name, LEFT(CAST(NEWID() AS VARCHAR(36)),...

    • This reply was modified 3 years, 1 months ago by Thomas Franz.

    God is real, unless declared integer.

  • Reply To: Simple script to de-identify data

    The script will be *SLOW*, because it uses a scalar function and will be called Row-By-Agonizing-Row, multiple million times on a real database.

    UPDATE tbl SET name =...

    • This reply was modified 3 years, 1 months ago by Thomas Franz.

    God is real, unless declared integer.

  • Reply To: Watashiato

    watashiato - n. curiosity about the impact you’ve had on the lives of the people you know, wondering which of your harmless actions or long-forgotten words might have altered the plot...

    God is real, unless declared integer.

  • Reply To: How to Improve Database Design to Speed Up SQL Queries

    The Social Security Number may be theoretical unique per natural person, but there are people without (e.g. foreign customers). And as in any systems there are "holes" where people got...

    • This reply was modified 3 years, 1 months ago by Thomas Franz.

    God is real, unless declared integer.

  • Reply To: Find Invalid Objects in SQL Server

    I'd think it is better to really recompile all the procedures / triggers / views / functions etc. instead to hope, that the sys.dependencies-table is always 100% correct.

    God is real, unless declared integer.

  • Reply To: Cross Database Context

    I use CONTEXT_INFO() regularly to "disable" triggers just for one session (e.g. migration scripts or bigger updates that should not touch the history tables  / updated_at / _by columns or...

    God is real, unless declared integer.

  • Viewing 15 posts - 46 through 60 (of 192 total)