Thanks for the replies guys, I get s:\ and l:\ when I run those queries. I have already checked the default paths thats why this is so confusing to me. Jeff, why a bad idea at the root?
The biggest reason, which has been true since DOS (or even CPM) hit the streets decades ago, is that there are some OS files that live in the root directory. If you have a bunch of other files there, it can take the OS (DOS, Windows, whatever) a lot longer to find those important files (normally, totally hidden but not always). That, of course, mostly only affects the main system drive (usually, C:) I'm not a deep study of what's on the root of NTFS drives but, IIRC, there are still "Boot Sectors" and "Partition Sectors" and volume information on the root of each drive whether it's the system drive or a "Pure" data drive.
A lot of people consider it to be a "bad practice" and other's consider it to be a bit lazy and not using much forethought (directory planning), especially with volume sizes that measure in Terabytes.
is pronounced "ree-bar
" and is a "Modenism
" for R
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
"If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
"Change is inevitable... change for the better is not."
When you put the right degree of spin on it, the number 3|8
is also a glyph that describes the nature of a DBAs job. 😉
How to post code problems
Create a Tally Function (fnTally)