In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces how to batch view the tables and fields of characters in Sql, the content is very detailed, interested friends can refer to it, I hope it can be helpful to you.
The code is as follows: declare @ str varchar (100) set @ str='8f8el3l' declare @ s varchar (8000) declare tb cursor local for select s='if exists (select 1 from ['+ b.nameplate'] where ['+ a.nameplate'] like'%'+ @ str+'%'') print''is the table and field: ['+ b.nameplate']. ['+ a.namehorse'] 'from syscolumns a join sysobjects b on a.id=b.id where b.xtyperoomU' and a.status > = 0 And a.xusertype in (175239231167) open tb fetch next from tb into @ s while @ @ fetch_status=0 begin exec (@ s) fetch next from tb into @ s end close tb deallocate tb
This is the end of the table and field sharing on how to batch view the characters in Sql. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.