Click here to Skip to main content
15,885,216 members
Home / Discussions / Database
   

Database

 
AnswerRe: Problem creating new username in sql language Pin
Mycroft Holmes29-Apr-17 14:50
professionalMycroft Holmes29-Apr-17 14:50 
QuestionRe: Problem creating new username in sql language Pin
ZurdoDev2-May-17 10:14
professionalZurdoDev2-May-17 10:14 
AnswerRe: Problem creating new username in sql language Pin
Victor Nijegorodov2-May-17 11:23
Victor Nijegorodov2-May-17 11:23 
Questionhow to get metadata of table from database in php? Pin
Member 1314302421-Apr-17 1:37
Member 1314302421-Apr-17 1:37 
AnswerRe: how to get metadata of table from database in php? Pin
Afzaal Ahmad Zeeshan21-Apr-17 2:22
professionalAfzaal Ahmad Zeeshan21-Apr-17 2:22 
AnswerRe: how to get metadata of table from database in php? Pin
Eddy Vluggen21-Apr-17 3:52
professionalEddy Vluggen21-Apr-17 3:52 
QuestionWant to avoid Dynamic Sql even if the Table name is random Pin
indian14317-Apr-17 8:40
indian14317-Apr-17 8:40 
AnswerRe: Want to avoid Dynamic Sql even if the Table name is random Pin
Wendelius17-Apr-17 8:53
mentorWendelius17-Apr-17 8:53 
If you have only a few possibilities for the tables and they are known beforehand then you could do a simple case structure to decide the query.

But before you jump into solutions, few questions you should consider:
- Why do you want to avoid dynamic SQL? When done properly, it has it's place.
- Is the table name the only thing that varies in the queries. If it is, I would suggest reconsidering the structure of the database, because in such situation it sounds that the different tables could be replaced with a single table with proper categorizing fields.

GeneralRe: Want to avoid Dynamic Sql even if the Table name is random Pin
indian14317-Apr-17 9:46
indian14317-Apr-17 9:46 
GeneralRe: Want to avoid Dynamic Sql even if the Table name is random Pin
indian14317-Apr-17 10:04
indian14317-Apr-17 10:04 
QuestionRe: Want to avoid Dynamic Sql even if the Table name is random Pin
CHill6018-Apr-17 4:19
mveCHill6018-Apr-17 4:19 
GeneralRe: Want to avoid Dynamic Sql even if the Table name is random Pin
Mycroft Holmes18-Apr-17 14:33
professionalMycroft Holmes18-Apr-17 14:33 
GeneralRe: Want to avoid Dynamic Sql even if the Table name is random Pin
indian14320-Apr-17 12:58
indian14320-Apr-17 12:58 
GeneralRe: Want to avoid Dynamic Sql even if the Table name is random Pin
Mycroft Holmes20-Apr-17 14:10
professionalMycroft Holmes20-Apr-17 14:10 
GeneralRe: Want to avoid Dynamic Sql even if the Table name is random Pin
CHill6023-Apr-17 22:26
mveCHill6023-Apr-17 22:26 
Questioncontext::Context(void) - cs_ctx_alloc() failed Pin
papi2414-Apr-17 1:29
papi2414-Apr-17 1:29 
QuestionRelational Database Design for N dimensional function, I have some problems Pin
User 110609796-Apr-17 3:26
User 110609796-Apr-17 3:26 
AnswerRe: Relational Database Design for N dimensional function, I have some problems Pin
Mycroft Holmes6-Apr-17 11:40
professionalMycroft Holmes6-Apr-17 11:40 
GeneralRe: Relational Database Design for N dimensional function, I have some problems Pin
User 110609796-Apr-17 19:18
User 110609796-Apr-17 19:18 
QuestionCannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" Pin
indian1435-Apr-17 9:53
indian1435-Apr-17 9:53 
AnswerRe: Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" Pin
Mycroft Holmes5-Apr-17 12:46
professionalMycroft Holmes5-Apr-17 12:46 
QuestionWhat is merge join in sql server Pin
Tridip Bhattacharjee23-Mar-17 22:56
professionalTridip Bhattacharjee23-Mar-17 22:56 
AnswerRe: What is merge join in sql server Pin
CHill6023-Mar-17 23:36
mveCHill6023-Mar-17 23:36 
GeneralRe: What is merge join in sql server Pin
Richard MacCutchan24-Mar-17 1:40
mveRichard MacCutchan24-Mar-17 1:40 
GeneralRe: What is merge join in sql server Pin
CHill6028-Mar-17 1:31
mveCHill6028-Mar-17 1:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.