There is no table named [dbo].[tblStoTConfig] , but when I run the below query it gives error. Cannot create table, object name already exists. Cannot create constraint.
create table [dbo].[tblStoTConfig]
(
pkStoTconfig int IDENTITY(1,1) NOT NULL,
fkAccountID int NULL,
fkSpeechToTextProvider int NULL,
APIEndPointURL Varchar(250),
AuthenticationKey Varchar(100),
NotificationURL Varchar(250),
ConfigVariableName1 varchar(100),
ConfigVariable1 varchar(250),
ConfigVariableName2 varchar(100),
ConfigVariable2 varchar(250),
ConfigVariableName3 varchar(100),
ConfigVariable3 varchar(250),
ConfigVariableName4 varchar(100),
ConfigVariable4 varchar(250),
CONSTRAINT Fk_tblStoTConfig_tblAccounts FOREIGN KEY (fkAccountID)
REFERENCES [dbo].[tblAccounts] ([pkAccountID]),
CONSTRAINT Fk_tblStoTConfig_tblSpeechToTextProvider FOREIGN KEY (fkSpeechToTextProvider)
REFERENCES [dbo].[tblSpeechToTextProvider] ([pkSpeechToTextProvider]),
CONSTRAINT [tblStoTConfig] PRIMARY KEY CLUSTERED
(
pkStoTconfig ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
If i run
drop table [dbo].[tblStoTConfig]
it says object name doesn't exists.
Please give me some solution as I am stuck on this from last 2 days.
Thanks in advance.
DatabaseName.SchemaName.TableName