Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I am looking for suggestions for the best way to document a replication configuration.
Currently the documentation is done in Excel (this sucks), where each dB has a tab & each table is listed in the corresponding dB tab, with how it is replicated to/from the data center...etc.
What is the best way (dynamic creation would be GREAT) to do this?
I would suggest to look at data from system tables and use them for documentation
Which objects in the database are published?
Publish DB
SELECT * FROM sysarticles
SELECT * FROM syspublications
Distribution DB
Use Distribution
GO
SELECT * FROM distribution..mspublications
SubscriberDB
USE SubscriptionDB
SELECT * FROM MSsubscriptions
SELECT * FROM MSsubscriber_info
Hope it Helps.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I want to design a database which is going to consists of really lot of columns, since it's a web game's inventory but there is going to be really lot of things.
It would probably call for names like "item_1", "item_2" but is that even ideal?
When I plan it to be extended over 1 000 items?
I need to SELECT later if the user has them, every single one.
I plan to use MariaDB and Laravel framework with Jetstream, Livewire and Tailwind.css.
Before you do anything, read about
NF
1NF
2NF
3NF
BCNF
Bearing in mind the knowledge you thusly accumulate, you should reach to a conclusion similar to having some tables like these:
item_types(id, name, ...)
user(username, password, ...)
inventory(user_id, item_type_id, amount)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have two databases one in PostgreSQL and other in MySQL. What I want is to get data from both databases and create a view and then iterate it on front-end.
Is it possible?.
The smartest thing to do would be to create two connections, one to each database, and handle it that way.
If you need to join the tables, you could consider using a mysql_fdw foreign table in PostgreSQL and join the tables in PostgreSQL.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am trying to convert CREATE UNIQUE INDEX from DB2 to mysql . I just want to know how to use INCLUDE in MySQL queries .I have searched in MySQL document and i din;t find anything .
This is the sample DB2 query :
CREATE UNIQUE INDEX SAMPLE ON MY_TABLE(ID)
INCLUDE(FIELD_1, FIELD_2, FIELD_3, FIELD_4) COMPRESS NO ALLOW REVERSE SCANS#
and also i want to know COMPRESS NO ALLOW REVERSE SCANS is allowed in MySQL ? Any help or suggestion ?
The answer is very simple: none of these options are supported in mysql and there is no equivalent option either. Db2 and mysql are two different products, they work differently.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm using Backand as my backend as a service and I'm trying to find a way to add MySQL full-text search in my App.
Can anyone help me how to do it?
Thanks.
In Backand query you can use any MySQL syntax, so just add input parameter (MyText) as the text to be searched on and use this query:
SELECT * FROM articles
WHERE MATCH (title,body)
AGAINST ('{{MyText}}' WITH QUERY EXPANSION);
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
how to load mysql table to memorystream with delphi? If possible; making select * from table where ?=? will be very fast. but how?
If you have FireDAC, you could use LocalSQL to write a SQL query against any TDataSet descendent, including an in memory TClientDataSet or FDMemTable.
It's explained in the documentation, and there is a webinar from the author of FireDAC demonstrating how to do it.