Question: SELECT ProductID, ProductName, Composition, REPLACE ( REPLACE ( Composition , 'Man - Made', 'Synthetic' ) , 'Man Made', 'Synthetic' ) AS NewComposition FROM YourTableName WHERE

SELECT ProductID, ProductName, Composition, REPLACE(REPLACE(Composition, 'Man-Made', 'Synthetic'), 'Man Made', 'Synthetic') AS NewComposition FROM YourTableName WHERE (Composition LIKE '%Man-Made%' OR Composition LIKE '%Man Made%') AND ProductID BETWEEN 1050 AND 1060
Error ERROR [42S02][Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'YourTableName'.SELECT ProductID, ProductName, Composition, REPLACE(REPLACE(Composition, 'Man-Made', 'Synthetic'), 'Man Made', 'Synthetic') AS NewComposition FROM YourTableName WHERE (Composition LIKE '%Man-Made%' OR Composition LIKE '%Man Made%') AND ProductID BETWEEN 1050 AND 1060
Error ERROR [42S02][Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'YourTableName'.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!