|
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
This is another method that works for character data
http://beyondrelational.com/blogs/madhivanan/archive/2009/12/14/search-a-value-in-character-column-of-all-tables.aspx...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
Yes it is difficult but managable. You need to make use of single quotes effectively if the procedure code has some dynamic sql...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
Sudeep Raj,
As long as % is not used at the begging it is fine...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
This is a Dynamic PIVOT which can be used if there are unknown number of values
http://beyondrelational.com/blogs/madhivanan/archive/2008/08/27/dynamic-pivot-in-sql-server-2005.aspx...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
Chintak Chhapia ,
Yes you can also use that query
...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
Thanks Brad,
I corrected the code. It should be based on product_id=3...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
Thanks Nakul. That was my point too...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
Nakul
Thanks for the testing...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
Thanks Dattatrey Sindol ...
|
-
Madhivanan Commented 3 Years ago through Blogs | 1 Point
nakul_vachhrajani,
Yes. That is easy in one line. But note that sp_MSforeachtable is undocumented and can be removed from future release...
|