# Extracted SQL Queries

- Source: E:\project\PQ\Restored_Source\extracted_queries.txt
- Generated at: 2026-07-27 12:02:27
- Total query blocks: 38

## Query 1

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 205

```csharp
string cmdText = "select * from section_tbl where ServiceSection='" + i_Section + "'";
```

## Query 2

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 264

```csharp
string i_szsql = "delete from section_tbl where ServiceSection='" + i_Section + "'";
```

## Query 3

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 294

```csharp
i_szsql = "insert into section_tbl(ServiceSection,seq,viewdata) values(";
				i_szsql = i_szsql + "'" + i_Section + "',";
				i_szsql = i_szsql + "" + Conversions.ToString(num) + ",";
				i_szsql = i_szsql + "'" + text + "')";
```

## Query 4

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 325

```csharp
string cmdText = "select * from section_tbl where jobcode='" + i_JobCode + "' and mode='" + i_Mode + "'";
```

## Query 5

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 386

```csharp
string i_szsql = "delete from search_condition_tbl where jobcode='" + i_JobCode + "' and mode='" + i_Mode + "'";
```

## Query 6

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 417

```csharp
i_szsql = "insert into search_condition_tbl(jobcode,mode,seq,viewdata) values(";
				i_szsql = i_szsql + "'" + i_JobCode + "',";
				i_szsql = i_szsql + "'" + i_Mode + "',";
				i_szsql = i_szsql + "" + Conversions.ToString(num) + ",";
				i_szsql = i_szsql + "'" + text + "')";
```

## Query 7

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 451

```csharp
string cmdText = "delete from hwp_Person_Detail_tbl ";
```

## Query 8

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 455

```csharp
cmdText = "delete from hwp_Person_JobList_tbl ";
```

## Query 9

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 459

```csharp
cmdText = "delete from hwp_person_tbl ";
```

## Query 10

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 463

```csharp
cmdText = "delete from person_job_tbl ";
```

## Query 11

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 467

```csharp
cmdText = "delete from project_user_define_tbl ";
```

## Query 12

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 471

```csharp
cmdText = "delete from search_condition_tbl ";
```

## Query 13

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 475

```csharp
cmdText = "delete from section_tbl ";
```

## Query 14

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 526

```csharp
string cmdText = "select membercode from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' group by  membercode";
```

## Query 15

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 584

```csharp
string cmdText = "select * from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "' order by seq";
```

## Query 16

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 644

```csharp
string cmdText = "select * from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "'";
```

## Query 17

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 702

```csharp
string cmdText = "select * from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "' and  choice=1";
```

## Query 18

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 747

```csharp
string i_szsql = "update hwp_Person_Detail_tbl set choice=0 where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "'";
```

## Query 19

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 749

```csharp
i_szsql = "update hwp_Person_Detail_tbl set choice=1 where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "' and viewdata='" + i_WriteData + "'";
```

## Query 20

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 758

```csharp
string i_szsql = "delete from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "' and seq=" + Conversions.ToString(i_Seq);
```

## Query 21

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 760

```csharp
i_szsql = "insert into hwp_Person_Detail_tbl(jobcode,membercode,section_item,seq,viewdata) values(";
			i_szsql = i_szsql + "'" + i_JobCode + "',";
			i_szsql = i_szsql + "'" + i_MemberNo + "',";
			i_szsql = i_szsql + "'" + i_Section + "',";
			i_szsql = i_szsql + "" + Conversions.ToString(i_Seq) + ",";
			i_szsql = i_szsql + "'" + i_WriteData + "')";
```

## Query 22

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 777

```csharp
string i_szsql = "delete from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "'";
```

## Query 23

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 803

```csharp
string cmdText = "select * from hwp_Person_JobList_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' order by seq asc ";
```

## Query 24

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 960

```csharp
string cmdText = "select * from hwp_Person_JobList_tbl where jobcode='" + i_JobCode + "'";
```

## Query 25

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1336

```csharp
cmdText = "select * from hwp_Person_JobList_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' order by seq asc ";
```

## Query 26

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1651

```csharp
string i_szsql = "delete from hwp_Person_JobList_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "'";
```

## Query 27

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1663

```csharp
string text = "insert into hwp_Person_JobList_tbl(jobcode,membercode,seq,viewdata) values(";
			text = text + "'" + i_JobCode + "',";
			text = text + "'" + i_MemberNo + "',";
			text = text + "" + i_Seq + ",";
			text = text + "'" + i_WriteData + "')";
```

## Query 28

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1695

```csharp
string cmdText = "select * from project_user_define_tbl where jobcode='" + i_JobCode + "'";
```

## Query 29

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1753

```csharp
string i_szsql = "delete from project_user_define_tbl where jobcode='" + i_JobCode + "'";
```

## Query 30

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1758

```csharp
i_szsql = "insert into project_user_define_tbl (JobCode,projectname) values('" + i_JobCode + "','" + i_ProjectName + "')";
```

## Query 31

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1812

```csharp
string text = "select count(*) from find_condition ";
```

## Query 32

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1870

```csharp
string i_szsql = "create table find_condition( kind  text(50), data_key  text(50), data_seq counter, contents  text(250) )";
```

## Query 33

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1923

```csharp
string cmdText = "delete from  find_condition where kind='" + i_kind + "' and data_key='" + i_data_key + "'";
```

## Query 34

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 1974

```csharp
string text = "insert into find_condition(kind,data_key,data_seq,contents) values(";
					text = text + "'" + i_kind + "'";
					text = text + ",'" + i_data_key + "'";
					text = text + ",'" + Conversions.ToString(i_seq) + "'";
					text = text + ",'" + i_contents + "'";
```

## Query 35

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
- Line: 2030

```csharp
string cmdText = "select * from  find_condition where kind='" + i_kind + "' and data_key='" + i_data_key + "' order by data_seq asc";
```

## Query 36

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\frmCompanyProjectInfo.cs
- Line: 5023

```csharp
mNewProject = "select";
```

## Query 37

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\frmMainMDI.cs
- Line: 4677

```csharp
i_URL = "http://" + CommonModule.gServerAddress + "/pq/Update.php?ActionMode=VersionCheck";
```

## Query 38

- File: E:\project\PQ\Restored_Source\PQProject\PQProject\frmUserAuth.cs
- Line: 754

```csharp
string i_URL = "http://" + CommonModule.gServerAddress + "/pq/sys/controller/ClientAjax_controller.php?ActionMode=Screen_00_001&SubAction=userlist-update";
```

