1,079 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for hollinar

Hi.. I have a big problem, hope that you can help... I have windows 2003 server with CA brightstor 11.0 (Build 2670) and is making backup to all my SQL Servers. so I need to restore a database where the MDF file is 4 GB and the LDF file 111 …

Member Avatar for marimeli
0
1K
Member Avatar for kayecng

I want to show the total qty of these query (total qty from datagridview where ActualQty value will update the values of Used Column) `SELECT COUNT(Software) AS ActualQty FROM tblswlogs WHERE Software='MS EXCEL'` and (**Total** will appear in textbox) `SELECT MAX(used + initialqty) As Total FROM tblswlist WHERE Software = …

Member Avatar for mcglk
0
368
Member Avatar for Saboor880

Hello to all! I am facing problems in feartures of sql sever 2008. I installed it but i could not find management studio in it. then i installed managemenet studio2008 separately. but when i opened management studio then there was no interface for making database but only interface was for …

Databases client-server mssql sql
Member Avatar for cgeier
0
322
Member Avatar for lewashby

I'm working with MariaDB through PHPMyAdmin and I have a question about how I need to set up my database. For eash person in the table I am currently building I'll also need an array of date values. I don't think there is a way for me to setup a …

Databases mariadb php web-design
Member Avatar for diafol
0
285
Member Avatar for infoitmanoj

I need to update my records normal password into Md5 passwords.my query was like that UPDATE testing SET password = MD5('Manojano234') This query was working fine but i need to add plain text also

Databases mysql
Member Avatar for Taywin
0
227
Member Avatar for k_manimuthu

Hi, I am trying to get same field name from different tables. And i am using like the below query to get the field name. I am expecting some other queries to get distinct 'function_name' column from 'N' of tables. SELECT function_name FROM base_table UNION SELECT function_name FROM firstcall_table UNION …

Databases mysql
Member Avatar for diafol
0
249
Member Avatar for AntonyRayan

For loop error problem Method: for($i =0;$i<count('$std_id);$i++) { for($j=0;$jcount('$sub_id;$j++) { mysql_query("INSERT INTO mmst_tbl(std_id,sub_id,mark)VALUES('$std_id[$i]','$sub_id[$j]','$mark[$j]')"); } } How to solve this? instead of 138 rows it goes 2000+ lines

Databases mysql
Member Avatar for diafol
0
233
Member Avatar for daisyy

Here I have this error java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) if I execute this thing GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'root' WITH GRANT OPTION; then I have this error. ERROR 1045 (28000): Access denied for user ''@'localhost' (using password: NO)

Member Avatar for Taywin
0
2K
Member Avatar for Borderline

I'm struggling with my hosting company and have had to move to a new one fairly quickly. I've transferred the pages and the databases over quite easily, but have run into an unexpected problem in the form of the error message below. > Warning: mysqli_connect(): (HY000/2000): mysqlnd cannot connect to …

Databases mysql web-server
Member Avatar for cereal
0
795
Member Avatar for shashigowda
Member Avatar for pritaeas
0
314
Member Avatar for Praise92

Hi Guys I am trying to select and display on the RadGrid. i am using sqlDataSource. i have 2 Tables (Users and DealerShip). User table i have attributes (UserID(pk),UserName,Email,Phoneand DealerShipID(fk)) on DealerShip table i have attributes (DealerShipID(pk),DealerShipName) and now here is what i want to do. on my grid i …

Databases mysql
Member Avatar for Praise92
0
237
Member Avatar for strRusty_gal

Can someone please help to advise below question? I need to do a SUM of the amount column based on the CreateDate date range From 10th of previous month to 10th of this month Below is the database table Amount CreateDate 151.00 5 July 2015 567.50 19 July 2015 558.00 …

Databases mssql
Member Avatar for strRusty_gal
0
188
Member Avatar for SimonIoa

Hello i want to put more than one values in a table's row

Databases mysql
Member Avatar for SimonIoa
0
344
Member Avatar for toxicandy

I have an old sqlite database that I am no longer going to be using but I want to transfer all of my data to my new mySQL database. I have everyone imported and it all looks good but the problem is when I order my one of my columns …

Databases mysql
Member Avatar for cereal
0
1K
Member Avatar for blueshiftdani

I am trying to update several rows in the database using mysql statement. My code is as follows. <?php $query = mysql_connect("localhost","root","toor"); mysql_select_db("busticket",$query); $result=mysql_query("Select * from ticket_reservation WHERE validate_status='No'") or die(mysql_error()); while($row=mysql_fetch_array($result)) { echo "<tr><td><input type='checkbox' id='name' name='name[]' value=".$row['id']."</td><td>".$row['userid']."</td><td>".$row['busid']."</td><td>".$row['numberofseats']."</td></tr>"; } echo"<tr><td><input type='submit' name='submit' Value='Validate Tickets'></td></tr>"; if(isset($_POST['submit'])) { if(is_array($_POST['name'])) { $qry …

Databases mysql
Member Avatar for pritaeas
0
375
Member Avatar for wikit

Hi, thanks in advance foy your time. I have in the past made a inventory site where a user selects from a dropdown what he or she has and saves it but this is a little different... What I'm attempting to do is this... User creates an account (have the …

Databases html-css mysql
Member Avatar for diafol
0
257
Member Avatar for Dili1234

this is my first time of creating trigger..I tried to create trigger using mysql to count how many 2007 data in the table when inserting new record but it not working....... My table have more than 50 data... CREATE TRIGGER No_of_Publisher_year Before Insert ON Book FOR EACH ROW SET @Count_No=New.Copyright; …

Databases mysql
Member Avatar for Kuripaner
0
202
Member Avatar for iharrythomas

Hello, It would be great if someone tell me what is the exact difference between DDL and DML? Thank you

Databases
Member Avatar for jwenting
0
115
Member Avatar for Tinnin

Hi everyone, I have about 20 simple queries running seperately on loading a php page with mysql querying. On my localhost the page takes about 3 seconds to load but on the live server this is over 30 seconds. I'm trying to shave some time off but I'm having trouble …

Databases mysql sql
Member Avatar for Taywin
0
308
Member Avatar for babir

Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can …

Databases file-system
Member Avatar for Reverend Jim
0
201
Member Avatar for Saboor880

Hi! I am facing problems with sql server 2008. I installed sql server 2008 and it was installed successfully. But when i went to start menu then only following features were displaying 1- sql server configuration manager 2- send errors and reports 3- sql server installation center. But other features …

Databases client-server mysql sql
Member Avatar for Saboor880
0
295
Member Avatar for lewashby

When I try to create a database with a non root user of MySQL I get this error. -> MariaDB [(none)]> create database cl_db; -> ERROR 1044 (42000): Access denied for user 'garrett'@'localhost' to database 'cl_db' How do I allow my recular username to create databases? Thanks.

Databases mysql
Member Avatar for diafol
0
224
Member Avatar for solomon_13000

The following SQL query would return 1 record with a min(unit_cm): select id, name, category, min(unit_cm), unit_Cost, unit_price, unit_costPerc from ( SELECT a.id, b.name, e.name as 'category', (d.unit_price - d.unit_cost) as 'unit_cm', d.unit_cost, d.unit_price, ((d.unit_cost/d.unit_price)*100) as 'unit_costPerc' FROM menu_items a, item b, menu c, price d, categories e where a.item_id_fk …

Databases mysql
Member Avatar for diafol
0
200
Member Avatar for malcolmizizy
Member Avatar for Reverend Jim
0
105
Member Avatar for AntonyRayan

SELECT subject,GROUP_CONTACT(description)FROM assignment WHERE standard_id='1' AND section_id='61' AND assignment_date='2015-06-30' GROUP BY subject; For above query , I am facing this error , what is the mistake, Error:#1305 - FUNCTION ssv.GROUP_CONTACT does not exist.

Databases mysql sql
Member Avatar for Teddy112
0
136
Member Avatar for Teddy112

hi guys, I have a question regarding databases which made me stuck in my recent interview. How we can identify unique records in any table without using any primary key or unique key ? Plz share your ideas... thanks

Databases
Member Avatar for cereal
0
791
Member Avatar for rucel jhalia

Imports MySql.Data.MySqlClient Public Class EmployeeInfo Dim con As MySqlConnection = _ New MySqlConnection("server=127.0.0.1;user id=root;database=bsit3d") Dim cmd As New MySqlCommand Dim da As New MySqlDataAdapter Dim dt As New DataTable Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click End Sub Private Sub display_Click _ (ByVal sender As …

Databases mysql
Member Avatar for rucel jhalia
0
257
Member Avatar for margareth.rabe

I dont know how to connect C# to MySQL can someone help me?

Databases c# mysql
Member Avatar for margareth.rabe
0
85
Member Avatar for adebayo23

Hello, Please as at this morning everything was fine, but all of a sudden all data record wiped off from 3tables in my database, now my client can't find records. Am using MYSQL, Visual Basic. Thanks.

Databases mysql
Member Avatar for cereal
0
254
Member Avatar for RGStrat

Hello Everyone, So I've begun a new project, in an attempt to show off my progress with Javascript. I'm making a little text-based RPG. However, I would like for it to permanently save your character and their progress. Thus, I need a MySQL database. I won't lie, I've only used …

Databases gaming mysql
Member Avatar for RGStrat
0
3K
Member Avatar for brispea

hello daniwebers... I am really stuck with this design of tables for calendar. Here is the thing...there are employees in a specific company. Each employee accepts customers of the company per day. The number of customers is limited by the doctor on a day by day basis. So for e.g. …

Member Avatar for mattster
0
316
Member Avatar for hamzaabid

I have an Access 2007 file that I was working on at my office. I left for the day and the database was still open. When I came back the next day the system had shut off so I rebooted (no issues). I tried to open the database and am …

Databases microsoft-access
Member Avatar for elmarrasch
0
980
Member Avatar for savedlema

Hi all! I have developed my application in VB.NET that uses a mysql database. From my application, I can make mysql backups and restore them. When i take a backup, the result is a .sql file which is saved somewhere. But as usual, one can open that sql file with …

Databases mysql sql
Member Avatar for jwenting
0
327
Member Avatar for falak_1

Restaurant | restaurant_id | names | Date | date_id | date | Time_slots | time_slots_id | start_time | end_time | restaurant_id | date_id | Reservations | reservation_id | No.of.people | time_slots_id| Relations between tables: Relation between time slots and restaurants = Many to Many Relation between time slots and date …

Databases
Member Avatar for diafol
0
142
Member Avatar for bubbafunk1

Hi, I need to drop tables from a database where all the email addresses end in the same domain, ie, say I have 1000 email addresses i need to input an MYSQL query to delete all rows containing email addresses ending with @mydomain.co.uk. Does anyone know how to do this?

Databases email mysql
Member Avatar for diafol
0
154
Member Avatar for alain.marion85

In the work I came up against a situation when the working database at the end of day went to the Suspect Mode. And the archive was in many hours before. To transfer it in normal mode, until isn't made repaired base it was impossible. DBCC checkdb also refused to …

Databases mssql
Member Avatar for GervaseParrish
1
252
Member Avatar for mpc123

I have a table of names that have done something on a certain date, now this could be over and over again yet of course on different dates but never the same. I need to update a field called last_time that corresponds to the previous date that they occur and …

Databases sql
Member Avatar for WebspoonUK
0
301
Member Avatar for bufospro

Hi, I am new in pl/sql programming and I need your help. I would like to make a procedure. To be more specific, I have tables like the folowing TABLE1 ================================================ |COL1 | COL2 | COL3 | COL4 | COL5 | COL6 |COL7| =============================================== |600 | 140 | 2 | …

Databases oracle
0
154
Member Avatar for berserk

My problem Im almost certian is a permissions issue but im still very new to this so bare with me. I have a server running the latest mysql with mysql workbench installed and im tryign to modify the users and privilieges for either my one table or all my tables, …

Member Avatar for berserk
0
353
Member Avatar for mangel.murti

registration table broker_id , email , affiliate_id.....etc 40 abc@gmail.com 9999 62 xyz@gmail.com 8888 affiliate_Stats table status_id , affiliate_id , banner_id , campaign_id , clicks impressioins , ctr , sale , sale_price, total_earned...etc 27 9999 3 0 0 1 0 29 9999 3 0 1 0 0 affiliate_chain id name recruitedby …

Databases mysql php web-design
Member Avatar for mangel.murti
0
681
Member Avatar for Papa_Don

Hi group, I'm getting an "single-row subquery returns more than one row" error when running my routine. Looking through the table I'm querying, it is listing a date twice for some reason. Since I'm not able to remove this one row, is there a way to return the first instance …

Databases oracle sql
Member Avatar for Papa_Don
0
666
Member Avatar for SimonIoa

Hello i have formatted my pc with Windows 7 and installed wamp server. My local project doesnt work. I am familiar with the difference between mysql and mysqli? Do i need to install a most recent version of Mysql than the one provided by Wamp Server?

Databases mysql
Member Avatar for diafol
0
319
Member Avatar for k_manimuthu

Hi all, I am not able to get correct count, if col1 (percentage with respect to product) and col2 have uniq value. Below I post my sample table data and expect output and which i query I tried. Please help me to get in to right direction. CREATE TABLE mysample …

Databases mysql sql
Member Avatar for k_manimuthu
0
239
Member Avatar for AntonyRayan

I am retrieving from table based on standard and date. For first standard It, has two sections A & B. A has one subject and B has two subject. While displaying I want to display in a table like this: section | Description A | English B | French,English My …

Databases display mysql
Member Avatar for cereal
0
181
Member Avatar for tritongoga

Dear friends, I have several dbf files, by exporting them from the same shp file in ArcMap. I would like to know how can i merge them in one, in order to get my final results. I would like also to inform you that these dbf files have the SAME …

Databases
Member Avatar for armelar
0
4K
Member Avatar for nadiam

hello, I am having a problem opening my database. Before this I could directly go to phpmyadmin after logging in to cpanel without entering username/password. Today, I was directed to a page to enter username/password before going to the database so I did but I got this warning: Warning in …

Databases mysql php
Member Avatar for diafol
0
2K
Member Avatar for joshmac

I am not sure if this is possible or not, but I need help writing a query for a running balance report. I tried a few queries on my own; I've come close but not exactly what I need. For convenience, I've created an sqlfiddle: [Click Here](http://sqlfiddle.com/#!9/caa5c) The report needs …

Databases mysql
Member Avatar for joshmac
0
1K
Member Avatar for tony75

Hi Why I got error ? CREATE TABLE customer_table( KNR INTEGER(10) FN VARCHAR2(10) NOT NULL, EN VARCHAR2(10) NOT NULL, Mobil NUMBER(10) NOT NULL, Tell INTEGER(10) NOT NULL, constraint knr_pk primary key(KNR) ); Error report - 00907. 00000 - "missing right parenthesis" *Cause: *Action:

Databases oracle
Member Avatar for tony75
0
681
Member Avatar for Baradaran

Dear community, today I am facing a new problem, maybe due to a black out. I am trying to select from a table based on the results from a select statement, however, the result only contains the first few characters of the field. The main table has the field "category" …

Databases mysql
Member Avatar for Baradaran
0
608
Member Avatar for nitos

Converting mysql to mysqli. i need help av been scratching my head how to make necessary changes but its like am making more errors. please help or give direction what to change.. <?php session_start(); include("php/class.user.php"); $msg = ""; $msg2 = ""; //$submit = $_POST['btnaddnew']; if(isset($_POST['btnaddnew'])){ if(empty($_POST['txtUserId']) || empty($_POST['txtFname']) || empty($_POST['txtMname']) …

Databases mysql
Member Avatar for diafol
0
280

The End.