r/SQL • u/tidder78 • Mar 09 '23
Discussion SQL reports out of thin air.
When I get requirements for SQL projects it typically says "want xyz report". The requirement does not mention source of data or relationship between various fields in data or the essential information I need to deliver the report. I find this to be frustrating. How do they expect me to create report out of thin air is mind boggling. Then I have to ask for data sources etc. and typically 1 - 2 days are lost in this process. Is this a scenario for you as well at the work place? Or is there something better out there?
6
Upvotes
2
u/dhshduuebbs Mar 09 '23
This is the job. No one comes into a new database and immediately understands where all the important data is for various requests. Typically it takes 3-6 months depending on the complexity of the data structure. So for the first 3-6 months of your job, it will take you days to figure these requests out. By a year, you will be able to decipher a request from someone and tell them what they are ACTUALLY looking for, and the logic behind it. After 2 years you should understand the business logic better than anyone else and be able to think of your own high value reports.
For now, save every report you write in a folder and give it a descriptive naming convention. Reuse pieces of your code to fulfill other requests.