Using the Dittus-Boelter correlation for turbulent internal flow will only give you the inside convective film coefficient, hi. If you're looking for the overall heat transfer coefficient U, you'll also need to determine the conductive resistance across the pipewall, and the external convective film coefficient, ho. The external film coefficient will vary widely, depending if the fluid in the tank is agitated, or only naturally convecting. This will most likely be your controlling heat transfer resistance if the tank isn't stirred, so choose your external heat transfer correlation carefully.
If the viscosity of the oil flowing inside the pipe doesn't vary excessively with temperature, then Dittus-Boelter is O.K. for calcualtion of an internal convective film coefficient. If the viscosity of the internal fluid does vary with temperature, you may want to utilize Seider-Tate. The Seider-Tate correlation has a viscosity correction factor to account for the temperature gradient between the bulk flowing fluid, and the fluid at the tube wall.
Hope this helps! Any decent heat transfer text should have several expamples of how to calculate the overall heat transfer coefficient for the system you are describing.
Matt