7,494 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Zangow

Hello all. This is my first post. I'm a software engineer with a general knowledge of SQL, but am no where close to an expert, let alone an intermediate. My current issue is I'm working on a query which combines 2 tables: TableA UniqueID Auto Increment ProjectName String <Extra Data> …

Databases mssql
Member Avatar for Zangow
0
186
Member Avatar for Oluwatosin

PLEASE I NEED TO CREATE A TABLE. BUT ITS STRUCTURE IS COMPLEX.E.G I WANT TO CREATE A TABLE THAT KEEPS RECORD OF DIFFERENT COMPUTER SYSTEM EACH HAVING TYPE(DESKTOP,LAPTOP), MAKE(IBM,HP,COMPAQETC) AND MODEL(NX9030, Z5040 ETC) ALL THIS ATTRIBUTES ARE LINKED TO EACH OTHER. HOW CAN I STRUCTUR THE TABLE? THANK YOU.

Databases
Member Avatar for AaronASterling
0
152
Member Avatar for fcaserio

I'm dealing with queries that manages a lot of data consolidation and I'm having to repeat large blocks of code to get the desired result. I'm wondering if that is any way to make it simple. My queries looks like this: [CODE] SELECT (A + B) AS C, (D + …

Databases mssql
Member Avatar for hollystyles
0
64
Member Avatar for tactfulsaint

Hello Everyone i need help connecting my site to a database.. Either MySQL or PHP Which Is better.

Databases mysql
Member Avatar for mwasif
0
79
Member Avatar for space1000

Hello, I have a problem with a varchar(15) field. We export this record with a bcp command and I get an new line in the export file from the specific field. When I look at this field then I just see 12 numbers in it. When I do a len …

Databases mssql
Member Avatar for space1000
0
107
Member Avatar for reuifdjk

Hi all, I am currently doing an application using MS Access 97 as front-end GUI, connecting to a back-end Oracle server. The Oracle server version is 9.x. Now I wanna use integrated security so that I won't need to enter the username/password every time I start my application. The problem …

Databases gui oracle unix
Member Avatar for reuifdjk
0
427
Member Avatar for dogma

I have limited oracle experience I want to dump a copy of one db and import it into a local oracle server which I'm using for dev. My problem is that I can't sort out the connect information (user@host:port/SID) type stuff. I've tried just connecting to the remote db using …

Databases oracle
Member Avatar for debasisdas
0
235
Member Avatar for sabatier

Hi folks, I'm building a database to store student exam results so that transcripts can automatically generated. This is a final year project for university so the database will never be used. I am a complete amateur when it comes to designing databases. [ATTACH]5254[/ATTACH] I have attached the relational schema …

Databases database-design
Member Avatar for stoudemire1
0
4K
Member Avatar for saurabh_kanwar

Hi Guys, I was just wondering if there's a way of restricting access to the contents of a database by creating a list of users and their corresponding password. So when ever someone tries to open the database a form pops up asking for their user name and password. Thank …

Databases mssql
Member Avatar for fireprooffox
0
111
Member Avatar for woocha

I am emailing a field from a MySQL DB table. The field type is text. Basically, it is an accept email. How can I make it so the email sent is capable of emailing HTML to make the message more attractive? I have already tried to insert < html > …

Databases html-css mysql
Member Avatar for mwasif
0
1K
Member Avatar for joval

I want to build a web application with MySQL database. When more users will visit my site, more database queries will be initiated and the response time will increase. - Is there a limitation for the number of users who can query MySQL? - What are the ways to handle …

Databases mysql
Member Avatar for mwasif
0
104
Member Avatar for aasahi

Hi, I'm a newbie in MSSQL. But i already tried using mysql. How can I create a database in mssql. I mean what would be the first step. I had installed Microsoft SQL Server 2005 along with Microsoft Visual C# Express Edition. The following are the tools found in Start>Program …

Databases mssql
Member Avatar for hollystyles
0
142
Member Avatar for pach

Hi, Does anyone know how to make ms access online & shared by different users? Thx...

Databases microsoft-access
Member Avatar for pach
0
91
Member Avatar for info

hi there guys ,, im have just a idiot asking ,, i have sql server 2005 express but im confusing for data work , where can i install that , into server or client , or both>>.??? i know how to basic program in SQL but configuring its merely little …

Databases client-server mssql sql
Member Avatar for jbennet
0
102
Member Avatar for lordx78

[code=mysql] $query = "INSERT INTO users (first_name, last_name, email, password, registration_date) VALUES ('$fn', '$ln', '$e', SHA('$p'), NOW() )"; [/code] What is the NOW() used for. Is it compulsory?

Databases mysql
Member Avatar for lordx78
0
86
Member Avatar for Thanatoid

I am trying to work on a database with 3 tables. To make it easier I have created a couple of temp tables to work out the syntax. CREATE TABLE #owner ( [NameId] tinyint IDENTITY(1,1) NOT NULL, [Name] varchar(50) NOT NULL ) INSERT INTO #owner VALUES ('Thanatoid'); INSERT INTO #owner …

Databases mssql
Member Avatar for Thanatoid
0
271
Member Avatar for djnzak

Hi i am making a table where i have different currency fields showing the salary of different staff and then a total field where i can calculate each staff's salary on rent, transport etc... now how do i make the total field show the total i.e. addition of rent+transport+education

Databases microsoft-access
Member Avatar for djnzak
0
71
Member Avatar for jglw

Say you have 3 tables A (Key, a) B (Key, b) C (Key, c) How would you select say 10 from A ordered by a, from 50 from B ordered by b, from 100 from C ordered by c? All the keys represents the same thing. Thanks!

Databases mysql
Member Avatar for jglw
0
72
Member Avatar for Big Mountain

I have a need for a program better than Query Analyzer, I use Enterprise Manager on a daily basis for work purposes and have given the Query Analyzer program to our head person in charge of the front-end of the software, but they are now having a growing need to …

Databases mysql sql
Member Avatar for mwasif
0
128
Member Avatar for aaronknightkc

I am trying to insert a row into a table into a MySQL DB 5.0 table. One of the VALUES that I am inserting just so happens to be HTML code. When I execute the INSERT in MySQL Query Browser it tells me "You have an error in your SQL …

Member Avatar for aaronknightkc
0
134
Member Avatar for ajf7688

Well n not a mysql expert so i need help with this sql file here r d contents of it. Quote:[code] CREATE TABLE `admin` ( `id` int(11) NOT NULL auto_increment, `username` varchar(255), `password` varchar(255), `webmaster_email` varchar(255), `lastlogin` int(11), PRIMARY KEY (`id`) )"; "insert into admin set username='$admin_login',password='$admin_pass',web master_email='$admin_email'"; CREATE TABLE …

Member Avatar for mwasif
0
167
Member Avatar for XcentricX

[B]Hi! I make nws CMS for self. I added search function too. But I have problem. I save data with html at DB Sample: [ICODE]<font color=red>Some text</font>[/ICODE] When I search for string "some" I get this row. But when I search for string "font" , I also get this row …

Databases cms html-css mysql
Member Avatar for pritaeas
0
99
Member Avatar for lordx78

[code=sql] CREATE TABLE users ( user_id int(10) unsigned NOT NULL auto_increment, username varchar(20) NOT NULL default '', password varchar(20) NOT NULL default '', PRIMARY KEY (user_id) ) TYPE=MyISAM; [/code] [COLOR="Red"][U]Questions:[/U][/COLOR] 1. What is the purpose of MyISAM? 2. What happen if I created the above table without MyISAM.

Databases mysql
Member Avatar for lordx78
0
108
Member Avatar for NazishKanwal

Hi all I have a table in which I save a record each time when a user checks in and checks out the office through a time in/ time out device(this device takes thumb impression of user, thus inserts record) table definition is as follows: checkInOutID (PK,int,not null) employeeID (FK, …

Databases mssql
Member Avatar for mIrfan
0
145
Member Avatar for abhiiiii5

HI I am software tester and want some small project which made in MS-sql server 2000 for the testing even if you have some corrupted file (not virus infected)please provide me . THANK YOU

Databases mssql sql
Member Avatar for Ramy Mahrous
0
102
Member Avatar for dogma

Is there a way to query Oracle on the number of connections open (Not as the administrator). I am trying to setup connection pooling and I want something (on the client end) to check how many connections are being maintained etc.

Databases oracle
Member Avatar for dogma
0
139
Member Avatar for GR Web FX

Hi there I am fairly new to the development side of web design as i specialise more in the graphics side of things. However i am trying to improve my development side and just needed some general advice about something or even a point int he right direction. I have …

Databases cms web-design
Member Avatar for JRSofty
0
164
Member Avatar for shery1995

Can someone through this forum help me out to design Financial Accounts System including Ledger posting, or provide me a copy of the database design or allow me to download such a database design I will realy appreciate the cooperation. Thanks my e-mail is [EMAIL="amjad_munir@hotmail.com"]amjad_munir@hotmail.com[/EMAIL] if some one wish to …

Member Avatar for peter_budo
0
80
Member Avatar for Mr.Wobbles

I am writing a program in VB 2005 Express and I am using SQL to insert, delete, etc. I was curious if there was a SQL statement that would allow me to backup the database in Access - I have tried the MySQL syntax for it, but I can't seem …

Databases microsoft-access sql
Member Avatar for jbennet
0
102
Member Avatar for vbobba

I have below query inside sp. select groupno,a from table1 where groupno <> 'Test' It is not returning rows where groupno is null. I did recompile sp with SET ANSI_NULLS off. But it is not working. Any suggestions? Please help thank you

Databases mssql sql
Member Avatar for debasisdas
0
67
Member Avatar for nicolamoore

I need to calculate the approximate current age in years of patients at a clinic. We don't have the birthday of all the patients, but we know how old they were when then first registered and we know the date they registered. I am doing a calculation which returns some …

Databases microsoft-access
Member Avatar for Bookman
0
178
Member Avatar for The Monkey

Hi there, I am finished writing a filemaker pro database ready to be used on the field. Everything is fine in the .fp7 file. Everything works great. However, after compiling to a runtime app, it refuses to export PDF files. When I create a database and want to export some …

Databases microsoft-access pdf
Member Avatar for Bookman
0
179
Member Avatar for trudge

I've mentioned SQL Injection attacks a few times in this forum and the Database Design forum. From the responses I got, many folks here don't know what an SQL Injection attack is. If you do any SQL interaction via a web-based interface, do yourself and the Internet community a favour …

Member Avatar for jbennet
0
823
Member Avatar for flower88

Hello I need help in microsoft access. I am creating an electronic database so i need 2 events, 2 resources and 2 agents for example event (order) resources (product). and i also want to know how do we link the table with each other i am talking about relationship Thankyou …

Databases microsoft-access
Member Avatar for Sulley's Boo
0
98
Member Avatar for filmpotato

I have seen a lot of website that have reviews on products and other things like movies, tv shows, books. I want to know how to do that. Can anybody help me with that?

Databases
Member Avatar for SheSaidImaPregy
0
140
Member Avatar for Tropical42

I Started Installing it and i am getting this error Step 2) Connect to the database Attempting to attach to database Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/www/tropical4.freefronthost.com/Vb/Vb/includes/db_mysql.php on line 140 The database has failed to connect because you do not have permission to connect …

Databases mysql vbulletin
Member Avatar for Michael_Knight
0
202
Member Avatar for winsrividhya

I have a database in SQL Server 2005.I've a table namely 'PersonalDetails' in it which contains a 'date of birth' field of type datetime.I've to generate weekly birthday reports . I wrote a sp like this:[code] ALTER PROCEDURE [dbo].[selectweekfrompersonaldetails] ( @paramdate datetime ='02/01/2007' ) as -- select EmpID,EmpName,month(DateOfBirth) bmon,day(DateOFBirth) bday …

Databases mssql sql
Member Avatar for SheSaidImaPregy
0
148
Member Avatar for newMeg

Hi I have 3 tables in my database. 1) [B]photo[/B] 2) [B]category[/B] 3) [B]subcategory[/B] in my photo table i save my subcategoryid which is tied to the category table. What i need to do is get the all the subcategoryname from subcategory table where photo.subcategoryid='1' and photoid='2'. I can actually …

Databases mssql
Member Avatar for SheSaidImaPregy
0
118
Member Avatar for pbmgoat

Ok, I am fairly new to database design so bear with me. I am working on a database on Transportation. My main concern is with the relationships, more specifically with Employees. I have a main table Employees and it contains basic information about the employee. I also have a field …

Databases database-design
Member Avatar for SheSaidImaPregy
0
103
Member Avatar for mangofreak

Hi to all, I am new to Daniweb and I'm already impressed with the wealth of information available. With that in mind I did a search through the forum but did not see a solution to my problem. I have a couple of machines on the same network. ONe of …

Databases apache mssql mysql
Member Avatar for mangofreak
0
63
Member Avatar for Nevgar

I have a problem with a query and an insert. I have a database that maybe isn't the best design - it includes a field "Former Names" which is varchar 255. It contains a list of names separated by commas. e.g.: "Svea Jarl, Apollo III " I would like to …

Member Avatar for hooray
0
113
Member Avatar for LucidNonsense

Hi there I'm setting up twp table that are linked with a foreign key. members customer_id (primary) fobnumber ZERO FILLED firstname lastname emailaddress access_id (foreign) userAccess access_id (primary) username password (engine: InnoDB) I have created recreated these tables, when both tables seem to linked. Data will go in to one …

Databases mysql
Member Avatar for pritaeas
0
74
Member Avatar for msr_viz

Hi, My name is Srinivas. im working as a software engineer in one MNC. now i want to do the oracle apps. but im in confusion to what to do in apps. 1. DBA 2. Technical Please suggest me which on is best. Regards, Srinivas Reddy. Pune.

Databases oracle
Member Avatar for alimahboob
0
109
Member Avatar for nikk

Hi friends, I'm creating a website for my college project. on clicking submit button on the feedback form, i want to retrieve current date and then store it along with entered details in the MS SQL database. I don't know how to do it. Can you please help me? I'm …

Databases mssql
Member Avatar for Ramy Mahrous
0
94
Member Avatar for wiz83

we recentely migrated our database from 2000 to sql server 2005.The migrated database has some issues like collation issues,so we created the scripts for each databases and then updated these scripts to remove collation issues to make these compatible to SQL server 2005. But we have some permission issues for …

Databases mssql sql
Member Avatar for wiz83
0
84
Member Avatar for prashish_raj

i have been getting this problem n this is getting into my nerves.. it works fine on the web.. but i need to present it on the intranet tomorrow "sunday" it gives this damn error. of mysql_fetch_array.. can u plz help me CODE: <div id="right_nav"> <div id="cga_events"> <div id="navtop" align="center"> …

Databases mysql
Member Avatar for nav33n
0
159
Member Avatar for edek

Hi! I have a problem with this line: GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, LOCK TABLE ON test.* TO user1@localhost IDENTIFIED BY "abcdef"; Here is what I do: [CODE=SQL] >mysql -h localhost -u root -p Enter password: ******* Welcome to the MySQL monitor. Commands end with ; or \g. Your …

Databases mysql
Member Avatar for edek
0
92
Member Avatar for werks

Hello experts could someone tell me how can i combine multiple records into one value. Sample in MS Access: (Lastname & "" & "," & " " & Firstname) AS Name How can i do this in MySQL?..tnx in advance

Databases mysql
Member Avatar for nav33n
0
96
Member Avatar for dalefish

Ok, I've had enough of looking at the same piece of code now. Someone please enlighten me as to what simple bloody thing it is I'm missing: [code=php] $pp2 = $_REQUEST["pp"]; $io2 = $_REQUEST["io"]; $sn2 = $_REQUEST["sn"]; $re2 = $_REQUEST["re"]; $sd2 = $_REQUEST["sd"]; $ed2 = $_REQUEST["ed"]; $dp2 = $_REQUEST["dp"]; $rn2 …

Databases mysql php
Member Avatar for nav33n
0
460
Member Avatar for Ankita B

Hi, What needs to be done to connect TOAD with oracle database ?....i have installed oracle client 9i..

Databases oracle
Member Avatar for Jx_Man
0
127

The End.