That's a SQL Server specific way of saying from this database on the same server, use this table. As was mentioned above, a stored procedure will be able to handle that. Also worth noting, is that if you choose to create any more sp's in this fashion that will be returning data, you will need to
SET NOCOUNT ON