Forum Discussion
Giel0
3 years agoFrequent Visitor
Filter on date column with SQL ibm db2
Hi, I have a large table which I would like to filter dynamically based on a date column. I have an orderdate column which has the format YYYYMMDD from the IBM db2 database. However, if I woul...
Giel0
3 years agoFrequent Visitor
Hi alosada ,
Thanks for your response. Loading the whole table and make transformations in the Power Query editor works. However, the reason for the SQL query is because it is a large table while I only need a small part of it. So importing the whole table gives me a lot of data which I do not need and could potentially lead to performance problems.
So to make the data load as efficient as possible I would like to query on the small part I of the data in the table I need.
Is there any way to use SQL to exclude the rows which cause this error?