Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What exactly do you want to select? The item ids or the name of the item or what?

[DiscordArchive] What exactly do you want to select? The item ids or the name of the item or what?

[DiscordArchive] What exactly do you want to select? The item ids or the name of the item or what?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
01-14-2023, 11:12 PM
#1
Archived author: Revision • Posted: 2023-01-14T23:12:03.382000+00:00
Original source

What exactly do you want to select? The item ids or the name of the item or what?
rektbyfaith
01-14-2023, 11:12 PM #1

Archived author: Revision • Posted: 2023-01-14T23:12:03.382000+00:00
Original source

What exactly do you want to select? The item ids or the name of the item or what?

rektbyfaith
Administrator
0
01-14-2023, 11:13 PM
#2
Archived author: Marcelo • Posted: 2023-01-14T23:13:16.553000+00:00
Original source

I need a SQL that will look for the Prize Item in the Quest template table and at the same time will open a Tab by selecting the Quest Item in the Item_template table
rektbyfaith
01-14-2023, 11:13 PM #2

Archived author: Marcelo • Posted: 2023-01-14T23:13:16.553000+00:00
Original source

I need a SQL that will look for the Prize Item in the Quest template table and at the same time will open a Tab by selecting the Quest Item in the Item_template table

rektbyfaith
Administrator
0
01-14-2023, 11:18 PM
#3
Archived author: Revision • Posted: 2023-01-14T23:18:57.599000+00:00
Original source

One way that probably isn't very performance-friendly would be
```
SET @QuestID := 38;
SELECT * FROM `item_template` WHERE `entry` IN (SELECT `RewardItem1` FROM `quest_template` WHERE `ID`=@QuestID) OR `entry` IN (SELECT `RewardItem2` FROM `quest_template` WHERE `ID`=@QuestID) OR `entry` IN (SELECT `RewardItem3` FROM `quest_template` WHERE `ID`=@QuestID) OR `entry` IN (SELECT `RewardItem4` FROM `quest_template` WHERE `ID`=@QuestID);
```
rektbyfaith
01-14-2023, 11:18 PM #3

Archived author: Revision • Posted: 2023-01-14T23:18:57.599000+00:00
Original source

One way that probably isn't very performance-friendly would be
```
SET @QuestID := 38;
SELECT * FROM `item_template` WHERE `entry` IN (SELECT `RewardItem1` FROM `quest_template` WHERE `ID`=@QuestID) OR `entry` IN (SELECT `RewardItem2` FROM `quest_template` WHERE `ID`=@QuestID) OR `entry` IN (SELECT `RewardItem3` FROM `quest_template` WHERE `ID`=@QuestID) OR `entry` IN (SELECT `RewardItem4` FROM `quest_template` WHERE `ID`=@QuestID);
```

rektbyfaith
Administrator
0
01-14-2023, 11:20 PM
#4
Archived author: Marcelo • Posted: 2023-01-14T23:20:34.346000+00:00
Original source

Tkanks..I'll try
rektbyfaith
01-14-2023, 11:20 PM #4

Archived author: Marcelo • Posted: 2023-01-14T23:20:34.346000+00:00
Original source

Tkanks..I'll try

rektbyfaith
Administrator
0
01-14-2023, 11:21 PM
#5
Archived author: Rymercyble • Posted: 2023-01-14T23:21:20.488000+00:00
Original source

simple selects are pretty good for performance
rektbyfaith
01-14-2023, 11:21 PM #5

Archived author: Rymercyble • Posted: 2023-01-14T23:21:20.488000+00:00
Original source

simple selects are pretty good for performance

rektbyfaith
Administrator
0
01-14-2023, 11:21 PM
#6
Archived author: Marcelo • Posted: 2023-01-14T23:21:26.180000+00:00
Original source


[Image: image.png?ex=690bdbf6&is=690a8a76&hm=143...d98cc35af&]
rektbyfaith
01-14-2023, 11:21 PM #6

Archived author: Marcelo • Posted: 2023-01-14T23:21:26.180000+00:00
Original source


[Image: image.png?ex=690bdbf6&is=690a8a76&hm=143...d98cc35af&]

rektbyfaith
Administrator
0
01-14-2023, 11:21 PM
#7
Archived author: Marcelo • Posted: 2023-01-14T23:21:31.505000+00:00
Original source

thanks
rektbyfaith
01-14-2023, 11:21 PM #7

Archived author: Marcelo • Posted: 2023-01-14T23:21:31.505000+00:00
Original source

thanks

rektbyfaith
Administrator
0
01-14-2023, 11:22 PM
#8
Archived author: Revision • Posted: 2023-01-14T23:22:05.854000+00:00
Original source

Why did it select the item of the same entry? Is that set?
rektbyfaith
01-14-2023, 11:22 PM #8

Archived author: Revision • Posted: 2023-01-14T23:22:05.854000+00:00
Original source

Why did it select the item of the same entry? Is that set?

rektbyfaith
Administrator
0
01-14-2023, 11:22 PM
#9
Archived author: Marcelo • Posted: 2023-01-14T23:22:15.494000+00:00
Original source

yes..I found a database with good quests..I'm going to use the quests..but I need to get the items
rektbyfaith
01-14-2023, 11:22 PM #9

Archived author: Marcelo • Posted: 2023-01-14T23:22:15.494000+00:00
Original source

yes..I found a database with good quests..I'm going to use the quests..but I need to get the items

rektbyfaith
Administrator
0
01-14-2023, 11:22 PM
#10
Archived author: Revision • Posted: 2023-01-14T23:22:21.248000+00:00
Original source

I see, okay
rektbyfaith
01-14-2023, 11:22 PM #10

Archived author: Revision • Posted: 2023-01-14T23:22:21.248000+00:00
Original source

I see, okay

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)