Ga naar de inhoud

Breaking

Flask and JSON A webserver from the command line Use the node.js server as restful app server Reading a CSV file and translate into dataframe Plotting in pandas

Data, data en nog ns data

Data, data en nog ns data

  • Home
  • A theory of data warehousing
  • About
  • Old pages
  • Toms’ Speeltuin
Niet gecategoriseerd

Alternative way to read data from SQL server

tom 21 maart 2024 0Reacties

import pandas as pd from sqlalchemy.engine import create_engine from sqlalchemy.engine import URL from sqlalchemy.types import String, Date, DateTime from sqlalchemy import text import sqlalchemy as sa import pyodbc import oracledb…

Niet gecategoriseerd

Use Python to transport data

tom 18 maart 2024 0Reacties

An alternative to a previous post is the programme below. This uses Pandas dataframe to transport data. import pandas as pd from sqlalchemy.engine import create_engine from sqlalchemy.engine import URL from…

Niet gecategoriseerd

Met Python van SQL Server naar Oracle

tom 7 maart 2024 0Reacties

Plse find enclosed a script to write records from SQL Server to Oracle: import pyodbc import datetime conn = pyodbc.connect('DSN=SQLServer;UID=sa;PWD=**') conntarget = pyodbc.connect('DSN=Rekendoos;UID=hr;PWD=**') table_name = 'MIGRATED_DIVORCE_SETTLEMENT__C' cursor = conn.cursor() cursortarget…

Niet gecategoriseerd

Where is a record that creates an error

tom 20 december 2023 0Reacties

It might be that you see one record in a view that generates an error somewhere but you have not clue which record might generate that error. It could then…

Niet gecategoriseerd

Closing records

tom 5 september 2023 0Reacties

In a data warehouse environment, we may have to close records when we have new records that are added to the system. Let me first provide the sql. CASE mut.etl_valid_fromWHEN…

Niet gecategoriseerd

Partitions in Oracle

tom 8 augustus 2023 0Reacties

Oracle has the concept of partitions: the idea that a set of records is stored in one partition, that is directly accessible. This avoids the situation that large segments of…

Allgemein

Calculate elapse period in Teradata

tom 20 oktober 2021 0Reacties

A nice feature of a DBMS is to be able to calculate elapse period. Important questions like “how many days to go to pension?’, can be addressed. In teradata, this…

Allgemein

A pivot table in Teradata

tom 13 oktober 2021 0Reacties

Teradata recently introduced the concept of pivoting in its sql. The idea is relatively straightforward. A column is selected that has some distinct values. Pivoting then implies that the distinct…

Allgemein

Using the SAS Viya environment

tom 6 oktober 2021 0Reacties

Today, I played with the new SAS Viya environment. This environment has been promoted as a cloud based environment by SAS that acts as a SAAS solution to analytics needs…

Allgemein

A graceful way to end a SAS job

tom 28 september 2021 0Reacties

I found one possibility to gracefully end a SAS job. The code is rather straight forward. One opens a macro with a condition statement %if %then etc. If the condition…

Berichtnavigatie

1 2 3 … 29

« Vorige pagina — Volgende pagina »

Recente berichten

  • Flask and JSON
  • A webserver from the command line
  • Use the node.js server as restful app server
  • Reading a CSV file and translate into dataframe
  • Plotting in pandas

Recente reacties

  1. tom op Sqoop

Archieven

  • april 2024
  • maart 2024
  • december 2023
  • september 2023
  • augustus 2023
  • oktober 2021
  • september 2021
  • augustus 2021
  • juli 2021
  • juni 2021
  • mei 2021
  • april 2021
  • maart 2021
  • februari 2021
  • januari 2021
  • september 2020
  • augustus 2020
  • juli 2020
  • juni 2020
  • mei 2020
  • april 2020
  • maart 2020
  • februari 2020
  • januari 2020
  • december 2019
  • november 2019
  • september 2019
  • augustus 2019
  • juli 2019
  • mei 2019
  • april 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • oktober 2018
  • september 2018
  • augustus 2018
  • juli 2018
  • juni 2018
  • mei 2018
  • april 2018
  • februari 2018
  • januari 2018
  • december 2017
  • september 2017
  • juli 2017
  • mei 2017
  • februari 2017
  • januari 2017
  • december 2016
  • november 2016
  • augustus 2016
  • juli 2016
  • mei 2016
  • april 2016
  • maart 2016
  • februari 2016
  • januari 2016
  • december 2015
  • november 2015
  • oktober 2015
  • september 2015
  • augustus 2015
  • juli 2015
  • juni 2015
  • april 2015
  • januari 2015
  • december 2014
  • november 2014
  • oktober 2014
  • september 2014
  • augustus 2014
  • juli 2014
  • juni 2014
  • mei 2014
  • april 2014
  • februari 2014
  • december 2013
  • oktober 2013
  • augustus 2013
  • april 2013
  • maart 2013
  • februari 2013
  • december 2012
  • oktober 2012
  • september 2012
  • augustus 2012
  • juli 2012
  • juni 2012
  • maart 2012
  • februari 2012
  • december 2011
  • november 2011
  • september 2011
  • juli 2011
  • juni 2011
  • mei 2011
  • april 2011
  • maart 2011
  • februari 2011

Categorieën

  • a theory
  • Allgemein
  • data warehousing
  • nice to know
  • Niet gecategoriseerd
  • Uncategorized

Je miste

Niet gecategoriseerd

Flask and JSON

Niet gecategoriseerd

A webserver from the command line

Niet gecategoriseerd

Use the node.js server as restful app server

Niet gecategoriseerd

Reading a CSV file and translate into dataframe

Data, data en nog ns data

Copyright © All rights reserved | BlogArise door Themeansar.