Author Archives: Marcos Freccia

Which Python courses I did? Or I’m still doing

PS: Portuguese version below!

Hi everyone,

Before even starting this blog post, I want it to make it very clear! If you are an Python/Developer Expert most likely this isn’t for you.

The reason for that is if you aren this kind of person, maybe you will find that those courses that I am sharing in here are too basic, because the main idea is really that. I want to share the courses that I did, or that I am still doing and reviewing from time to time, in order to not forget what I learnt.

This blog post is meant for people like me that are maybe SQL Server professionals and want to learn more about this language and what can be done. So, without prolonging too much, here it is my list. Read the rest of this entry

Advertisements

The most read posts of July – 2017

PS: Portuguese version below

Hi Everyone,

In case you are wondering the most read blog posts of July – 2017, here they go. Also, if you have never read them, you may do so now Smile.

1) Transaction log cheio? E agora? – 371 views – Posted on 13.06.2011

2) Configurando Linked Server de SQL Server para Oracle – 275 Views – Posted on 15.06.2012 Read the rest of this entry

SQL Saturday 656 Denmark – I am going!

Hi everyone!

I’m not sure if you guys know it, but on October 07th, 2017 we will have another amazing SQL Saturday 656 that it is taking place in Copenhagen, Denmark.

Surely, it will be an amazing day of learning and network from the Data Platform Experts that are coming from all places. So, if you are an IT person and is not quite sure yet on what do to on Oct, 7th, join this FREE event. You can get all the details from the home page.

http://www.sqlsaturday.com/656/EventHome.aspx

Two things that are important to mention! Read the rest of this entry

Azure Meetup Berlin – Slide Deck

Hi Everyone,

First of all, thanks to everyone who attended yesterday’s Azure Meetup Berlin in the Digital Eatery. We had around 25 people who stayed until the end of the event!

In my opinion the talks were really good and personally I hope you all of you enjoyed my Power BI talk. As promised below is the slide deck used in my presentation and also some photos taken during the presentations. Read the rest of this entry

Azure Meetup Berlin – I will be speaking

Hi Guys,

It’s been a long time that I don’t show up here, but I just wanted to let everyone know that tomorrow (22.07.2017) starting at 06:30PM I will be speaking at the Azure Meetup Berlin. At this meetup we will have two topics and one of them will be presented by me, about a subject that I really enjoy talking as you can see below.

Talk: Azure and Power BI – Why Power BI is the right tool for you?

In this session, I will explore a few features of Power BI that can make your adoption easier. For example, analyzing data from one or multiple sources? How to efficiently share your dashboards? Free or Paid Power BI? These are common questions often asked and he hopes to have them all answered by the end of the presentation.

Meetup link: https://www.meetup.com/Berlin-Microsoft-Azure-Meetup/events/242462983/

We will also have another topic regarding Azure Containers, which sounds a really interesting talk.

The event will be hosted in the Digital Eatery at Unter den Linder 17 in Berlin! In case you are reading this post and lives or it is in Berlin tomorrow(22.07) make sure to RSVP and join us!

Regards,
Marcos Freccia

How to connect Python and SQL Server – Part 2

Hey Guys,

In my first blog post about Python and SQL Server, I gave a very short introduction in how to actually connect and execute a simple query. Today I want to extend a bit on using Python and SQL Server.

As I described in the end of the previous post the ideal scenario is that you inherit the database connection from a single file and then use it whenever and anywhere you want. This makes your code to look cleaner and eliminate redundant work in case you need to change credentials or something else. For that I will show to you how to do it. Read the rest of this entry

An error occurred while setting up a binding for the column

Hello Guys!

I just wanted to do this quick blog post to give you a tip about a recent problem that I had in a SSIS Project. My scenario is the following.

Source Database Server: PostgreSQL
Target Database Server: SQL Server 2016

As you can see, I need to extract data from this PostgreSQL database and import in SQL Server. So far everything is working, but today I got this error of in one particular table: [OLE DB Destination [25]] Error: An error occurred while setting up a binding for the “MyColumnName” column. The binding status was “DT_NTEXT”. The data flow column type is “DBBINDSTATUS_UNSUPPORTEDCONVERSION”. The conversion from the OLE DB type of “DBTYPE_IUNKNOWN” to the destination column type of “DBTYPE_WVARCHAR” might not be supported by this provider. Read the rest of this entry

How to connect Python and SQL Server

Hi everyone!!

Lately I have been studying a bit of Python that I intend to use at work for some projects and also for learning a new language. I would recommend for you to also learn it, because as you know Python is coming to SQL Server 2017. The thing is that with Python you can use in your Machine Learning models, build Websites using some other frameworks such as: Django or Flask and even automate trivial tasks of your daily basis.

However, something that I know from the top of my head now is: Python was not designed in the first hand to deal with Microsoft SQL Server as a backend database. You don’t find lot’s of examples, the documentation sometimes is a bit misleading and errors and more errors that you cannot even imagine. If you search about Python + MySQL, Python + PostgreSQL, you will find lots of examples out there. I am not saying this is bad or anything, but it is just the way it is. Read the rest of this entry

The most read posts of June – 2017

Hi guys,

I have decided that I will continue to do this kind of blog post. So you don’t need any other introduction about the subject. So, let me list the top 5 posts of June.

1)  Transaction log cheio? E agora? – 327 views – Posted on 13.06.2011

2) Como visualizar o conteudo de procedures criptografadas –  182 views – Posted on 11.03.2015

3) Configurando Linked Server de SQL Server para Oracle – 175 views – Posted on 15.06.2012

4) SQL Server no Linux – os primeiros passos – 115 views – Posted on 02.01.2017

2) Adding SSISDB to AG for SQL Server 2016 – 97 views – Posted on 28.04.2017

You see it, that’s not a looot of reads, but I’ll try to improve my writing skills and share more with you, because I have been doing some pretty cool stuff at work!

I hope you like this type of post!

Olá pessoal,

Decidi que vou continuar com esse tipo de postagem. Bom, acredito que não preciso fazer mais nenhuma introdução sobre esse assunto, então segue os 5 posts mais acessados do meu blog.

1)  Transaction log cheio? E agora? – 327 views – Posted on 13.06.2011

2) Como visualizar o conteudo de procedures criptografadas –  182 views – Posted on 11.03.2015

3) Configurando Linked Server de SQL Server para Oracle – 175 views – Posted on 15.06.2012

4) SQL Server no Linux – os primeiros passos – 115 views – Posted on 02.01.2017

2) Adding SSISDB to AG for SQL Server 2016 – 97 views – Posted on 28.04.2017

Para falar bem a verdade, o numero de visualizações é bem baixo até, acho que preciso fazer mais propaganda Open-mouthed smile. Está acontecendo bastante coisa legal no trabalho e vou tentar escrever mais conteúdos para todos.

Se vocês gostaram desse tipo de post, deixa um comentário, já é um bom incentivo.

Regards,
Marcos Freccia
Data Platform MVP

How much transaction log, transactions generate?

Hi Everyone,

I wanted to share something that I am doing this week at work. One of the applications that I support is generating a lot of transaction log in the database. Just to have an idea, we run Transaction Log backups every 30 minutes and I have backups over 100GB and sometimes 200GB. The difficult part of investigating what is generating that amount of log is because the databases involved are used by at least 3 different applications and streams. So, I remember that in the past I created a simple script that looks at this information in the database and then I may have more inputs of what is really generating that amount of log. Read the rest of this entry