Pixels don't even exist in 3D, so no, there isn't a 3D line command.
You can however, create a box and set it's size so it looks like a line. Or create a plain and texture it with a line.
The problem is that you've not explained what you are trying to do, so it's very difficult to suggest the best way to go about it.
Quote: "maybe i should start reading c/c++ after all"
It would still be no different. But instead of wasting an hour trying, you'd probably waste 6 months. You can't do any more in 3D with C++ than you can in DB and it will take you a lot longer finding out.
TDK