Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Inserting TSQL command into table

Author  Topic 

dewacorp.alliances

452 Posts

Posted - 2008-01-31 : 22:15:46
Hi there

I am trying to build library that containing TSQL scripts. I can INSERT command but once you get a very complex (quote) query you have to double quote to solve.

Is there anyway to insert into table that treat as text?

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-01-31 : 22:47:25
Try using QUOTENAME() function.
Go to Top of Page
   

- Advertisement -