Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to enter permission Matrix by Excel

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces how to enter the permission matrix of Excel, the content is very detailed, interested friends can refer to, hope to be helpful to you.

The leader wants to enter the data of a permission matrix into the database and ask me if there is any good way.

Can you say no?

The whole Excel is similar to the following matrix, there are many matrices, each matrix is also very large.

Create a test table.

Create table t (

Id int primary key auto_increment

F varchar (32) not null

T varchar (32) not null

P int

);

The first step is to change the check box in Excel to 1.

Step 2, enter the formula at cell E2

= CONCATENATE (Barri1, ",", $A2, ",", $B2)

$B (number) as you drag and copy, the number increases. But B$ (number) does not increase the number by dragging and copying.

The third part is the drop-down copy formula

You can see that the formula for cell E4 is = CONCATENATE (bread1, ",", $A4, ",", $B4).

Manually modify the formula of E2 by changing = CONCATENATE (Basil, ",", $A2, ",", $B2) to = CONCATENATE (Basi1, ",", $A2, ", Basi2).

The formula of E3 and E4 is also modified.

Part IV, Transverse drag Formula

Step 5, paste to generate SQL

Text editor operation, generating SQL

On how to enter the Excel permission matrix to share here, I hope that the above content can be of some help to you, can 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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report