wh00t Registered User. Local time Today, 22:56 Joined May 18, 2001 Messages 264 Apr 9, 2008 #1 Perhaps I'm phrasing it wrong, but my searches have been fruitless. Can I check to see if a table exists in an SQL database from within MS Access?
Perhaps I'm phrasing it wrong, but my searches have been fruitless. Can I check to see if a table exists in an SQL database from within MS Access?
T tehNellie Registered User. Local time Today, 22:56 Joined Apr 3, 2007 Messages 751 Apr 9, 2008 #2 You can query sysobjects using something along the lines of: Code: SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[YourTable]') AND OBJECTPROPERTY(id, N'IsUserTable') = 1
You can query sysobjects using something along the lines of: Code: SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[YourTable]') AND OBJECTPROPERTY(id, N'IsUserTable') = 1