I have database Test1 in SQL Server 2008 R2. On the live server I took backup from there and restore it at our local machine as Test2 and added som
Test1
Test2
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'dbName';