update a table on my website [closed] - sql

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Hey all and thank you in advance for any help, I have my website I'm building as a hobby I have an java app I wrote sitting on my comp, it updates certain tables and the the end result is a table shown to users, now I update the tables manually using phpmyadmin.
The question is how do I set a connection to import tables into my website DB?
I googled it before I asked, haven't found related stuff....

There are many ways to do what you want (dozens in fact). One way, that I personally use is through PHP and the $mysqli class.
Read more on mysqli here
You will need to setup a database conection, and from here you would use this connection to query your database by building SQL queries and using the $mysqli class to send them to the database.

Related

Where can beginners run their SQL code?If it's a PL,then why it doesn't have a compiler? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am totally new to the subject of databases and I have only theoretical knowledge about it.I want to run the SQL commands I read about but totally clueless where to run it.The definition says SQL is a special purpose programming language.If so why doesn't it have a compiler?And if I have to install in a RDBMS on my computer to practice SQL, what is the one you would suggest for learners?Can SQL commands be run in all RDBMS?
I am totally despondent about it,utterly clueless.Please help me take the first step.Just a simple thing--Where on earth to run those SQL commands?
You can use http://sqlfiddle.com/ to test your queries. There you can chose a database (mysql, Oracle, Sql Server or other), generate test tables, fill them with test data and generate test queries to this data

My database's table cleaning itself (SQL Server 2008 Express) [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I got an epic problem about my datas that in my tables. I insert some data into a table and I wait 5 or 10 mins and table clears itself. I don't know why. My application doesn't have a code bug, but I think SQL Server has a bug. PLease help...
My best guess is that your code creates the database or the table each time it runs, thus seemingly deleting the data inserted.
Make sure you commit your changes. It is my guess that the tool you are using is not committing your changes automatically because of its settings.

How to save code samples/snippet in SQL Server? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is it possible to save code samples/snippets in SQL Server 2005?
Actually I want to maintain the font style and all of code, provided by user on website same as in stackoverflow we can provide code samples along with question.
Which data type should I use and what html control should i use to receive value from user?
I don't want to create a separate file to save code samples.
Thanks in advance
If you're using SQL Server Management Studio, you can use one of the often overlooked features : the Template Explorer:
As you can see from my screenshot, you can tap into a vast array of pre-defined scripts and templates, and you can create your own folders and templates, too - and use them (also share them in your team).

Anyone know a SQL schema (scripts or something) for a forum's Start up? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
We are searching for a while now on google to find out some good SQL scripts to
create a "forum". Does anyone know some great start up kit (Image, scripts, schema view) from what I could start? We want something with the most functionalities as possible (such as number of views, ranking, etc).
Check the existing forum projects like phpbb.

How to make a view in SQL Server? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have more tables and I want to merge that some table for getting result.....
How can I do?
Views is just some sort of "stored query". It can be defined as:
CREATE VIEW viewname AS SELECT <the rest of select query here>
More details at msdn:
http://msdn.microsoft.com/en-us/library/ms187956.aspx
http://msdn.microsoft.com/en-us/library/aa214068(SQL.80).aspx
CEATE VIEW.
The rest of teh syntax is in ..... the documentation.
And this question is neither related to C# nor C++. It also does not care what you ate for breakfast. SQL works with strings the server interprets, and the langauge has no matter how the server does that.