Quantcast
Channel: LBi Techblog » Uncategorized
Viewing all articles
Browse latest Browse all 6

Searching all tables of the sitecore database with a stored procedure

$
0
0
If you would like to execute some sql statements (preferably only select) on the sitecore database then this stored procedure will be very useful: http://vyaskn.tripod.com/search_all_columns_in_all_tables.htm To make sure you can also search on itemId you should add uniqueidentifier to the list of datatypes: SELECT MIN(QUOTENAME(COLUMN_NAME)) FROM    INFORMATION_SCHEMA.COLUMNS WHERE       TABLE_SCHEMA    = PARSENAME(@TableName, 2) AND TABLE_NAME  =

Viewing all articles
Browse latest Browse all 6

Trending Articles