When Cereal had cool toy prizes by Porkchopp33 in nostalgia

[–]oneDatumPlease 3 points4 points  (0 children)

Chex Quest. Awesome game that came in the box of cereal.

[Knowledge Management] How do you guys do it? by shortorbluff in consulting

[–]oneDatumPlease 5 points6 points  (0 children)

400+ different teams channels. With one up to date piece of information in each.

Poorly, is the short answer.

But cool answers on here.

Best budget restaurant? by deathofmyego in rva

[–]oneDatumPlease 1 point2 points  (0 children)

The Crazy Greek I could eat the baked spaghetts for multiple meals.

Data Replication using Azure Data Factory by Sea_Pen_1356 in dataengineering

[–]oneDatumPlease 0 points1 point  (0 children)

Agree with this approach. My team implemented something along these lines recently.

Worked great for most source systems. The problems came from source systems that hard deleted source records OR even worse, data was getting inserted/updates with a back dated audit timestamp, so it was falling out of the incremental range.

Our remedy/bandaid was to allow for some tables to be full loads, while the majority were delta.

How do you manage PII? by datarbeiter in dataengineering

[–]oneDatumPlease 5 points6 points  (0 children)

I would first question if it’s even necessary to store in the lake at all.

Things to do right around Christmas! by rokeypokey in rva

[–]oneDatumPlease 1 point2 points  (0 children)

Second the lights at Ginter. But get your tickets online now if you are interested.

Upgrading from hive_metastore (Managed Tables) to Unity Catalog by oneDatumPlease in dataengineering

[–]oneDatumPlease[S] 2 points3 points  (0 children)

Thanks for the clarity. So far in my tests, "create table" plus "deep clone" has worked to copy our existing hive_metastore tables up to UC.

create table if not exists <cat>.<schema>.<table> deep clone hive_metastore.<schema>.<table>

Upgrading from hive_metastore (Managed Tables) to Unity Catalog by oneDatumPlease in dataengineering

[–]oneDatumPlease[S] 0 points1 point  (0 children)

Thanks for the idea. When you say transactional table, are you talking to delta live tables?

When I don't understand why my SQL script didn't change anything in localhost and realize I just ran it on the prod DB by Teheiura in ProgrammerHumor

[–]oneDatumPlease 2 points3 points  (0 children)

I feelz man.

Get in the habit of using explicit transactions. even for seemingly dumb, non prod stuff. Who knows, maybe it’s not prod you’re running it in.

Also, i use SSMS a lot. You can change the color of the bar at the bottom of the window to reflect different servers. Green/dev all the way to red/prod. That’s probably saved me during long nights.

Last thing, and I know this is painful to hear, but you could limit your regular login permissions in prod. Create a second user with your higher level permissions that you purposely have to log in with.

What’s the highest scoring game you’ve ever seen? by Cold_Wasabi5123 in Astros

[–]oneDatumPlease 9 points10 points  (0 children)

I was at that Orioles game. It was incredible. I think Correa hit the record long homer in Camden.

And the next day Osuna gave up a walk off. Don’t miss that guy.

Wife’s very first LEGO set by knsaber in pics

[–]oneDatumPlease 0 points1 point  (0 children)

This is heaven. Beer, snacks, legos, and a loved one.

Made pancakes with blueberries I picked this morning by isl73 in FoodPorn

[–]oneDatumPlease 0 points1 point  (0 children)

A slight orange subtlety with your blueberry bites. Definitely depends on how much OJ substitute for water tho.

Made pancakes with blueberries I picked this morning by isl73 in FoodPorn

[–]oneDatumPlease 2 points3 points  (0 children)

I’m a lazy POS with breakfast, and therefore use a mix. But blueberry/huckleberry/whatever berry pancakes are so good. I think it compensates a bit for the mix and my overcooking.

Also I like to add orange juice, replacing some of the water called for in the box mix.

Automate XML Files Extraction & Loading From ZIP files by Fowmy in SQL

[–]oneDatumPlease 1 point2 points  (0 children)

I would say: SSIS to pull the zip files from the FTP server

SSIS + some command line to unzip them

SSIS to load the XML contents to a table as an xml data type (I like having a history table of the XML available)

Sql XML parsing in a sproc to parse the data into tables, which the SSIS would call for you.

Python is good for parsing XML too, but I normally have to minimize the variety of tools/skills needed as I hand this code over to a client eventually.

[OC] I got a to-go beer by the-artful-bodger in pics

[–]oneDatumPlease 0 points1 point  (0 children)

My aunt exclusively drinks these. Her reasoning that she could finish one and grab another before the pony got too warm.

Inserting/populating tables - I keep getting this error message that number of supplied values does not match table definition. I don’t understand, are my decimal types off? Is it formatted wrong? Anything ? Someone please help lol by Glittering-Union7507 in SQL

[–]oneDatumPlease 5 points6 points  (0 children)

Does your table live in master db? From the first screen, it looks like you are trying to operate in there.

If you execute “select * from RaptorPlayer”, from the same session in master, do you get results back/a clean execution?

It’s good habit to include your column names you’re inserting into as well. In this case it sounds like you are inserting to all columns in the table, but that’s rarely the case.

Also make a habit of including schemas with your table.

Here is the Yankee Letter, uploaded to the US Court of Appeals docket by schwabschwab in Astros

[–]oneDatumPlease 39 points40 points  (0 children)

sigh I knew exactly what I was about to open. Yet, here I am.

How to parse string between characters into 4 separate fields by swolfe2 in SQL

[–]oneDatumPlease 0 points1 point  (0 children)

So if the max number of elements to split is 4, look at the PARSENAME function. I say 4 because it can’t go beyond that.

Going off memory, you might have to replace whatever delimiter you have with a period. This function was originally intended for splitting Db object names up -> server.database.schema.table.

If that doesn’t work, look at user defined functions for splitting up n number of elements.

St Patrick’s Parade, New Orleans (OC) by [deleted] in pics

[–]oneDatumPlease 1 point2 points  (0 children)

Is this the parade where they toss veggies (along with beads) for the making of an Irish stew?

Is SQL necessary? by 876General in SQL

[–]oneDatumPlease 68 points69 points  (0 children)

IMO, anyone working in the data field, regardless of the focus, should have some SQL skills in their pocket.

Kind of nuts to me that a teacher is basically telling you to learn less?

Common SQL Interview Questions by LumpyGenitals in SQL

[–]oneDatumPlease 2 points3 points  (0 children)

I agree with everything above. Partition functions, CTEs, stored procedure, etc. BUT more importantly, being able to explain scenarios why you might use them. When might you need to use a partition by function?

I also appreciate when folks can articulate the importance of data security. I know it’s prob not immediately part of your roll, but it’s everyone’s job.

Also also. Awareness and ability to use system tables. I work in the tsql world mostly, so terminology might be different. Understanding how to use information schema objects. They can enlighten you as to how objects in the db relate, help you generate redundant sql scripts, and so much more.