Proper guess of source lines in SQL files