I Think That My Question Is Simple. How Can I Find That My Query Is Running From Where ( Where is The Location of the Script File itself ) ?
Edit :
Thank You For Your Answer. I Need To Import a XML File Using my TSQL Script File And i want to Keep Them Together, so Wherever Someone try to run the TSQL script file, it must knows the current directory of itself to know where is the XML file and then import it. Thank Again !