Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Browsing all 13329 articles
Browse latest View live

Best DB structure for News

Hello, I am making a social network for pet lovers. I am going to implement some kind of news system. Now. Every News is going to belong to either a user or pet (maybe something else will have to...

View Article


Merging Rows SQL

Hi guys I have what I hope is a simple problem to solve. If I have a table similar to below ID Field1 Field2 Field3 01 Red 01 Green 01 Blue 02 Blue 02 Yellow 02 Red How would I merge the records...

View Article


Levenshtein Distance Algorithm convert to Sybase

Dear All, Please help me convert the below SQL Server Function to a Sybase compatable format. I'm having trouble finiding the corresponding datatypes in Sybase. My Sybase version: Sybase Adaptive...

View Article

Calculating days between Start Date and Today ?

Hi I have form which automatically takes a start value for today the fieldname is Date. now what I want to do is calculate the difference between Date and Today's date in days with 2 criteria's Ist...

View Article

SSIS package options

Hi, We currently run our SSIS packages as SQL server agent job with the package source as "file system" what are the benefits or differences if we import the package into Integration services and...

View Article


Underscores in Relationship View, Orphaned table

In my database relationship view, I'm noticing that some of the tables are listed more than once and are made unique by the addition of _1, _2, etc., to the end of the table name. Two questions:What...

View Article

Image may be NSFW.
Clik here to view.

Im trying to make a ProgressBar and need some help!

I have thought about it and I think I have got a better way to do it but I just wish I could figure this out okay I kind of tried to think about an If Then statement but I need someone that knows the...

View Article

Undefined Function

I have queries that were working perfectly and now I get the error message that the Format function is undefined. Help, where are the systems functions stored and I can recover them? :eek:

View Article


Supertype / Subtype structure

Within a supertype/subtypes E-R Structure can subtypes have a 'one to many' relationship between them?

View Article


normalisation scenario

Is there anything in Normalisation that 'breaks up' dependencies between partial keys? I have the scenario where 4 attributes (Field 1, Field 2, Field 3, Field 4) make up the primary key. A value in...

View Article

Set Focus to control

Hi All, I have a control on my form that looks up a value in a linked table. The goal was to ensure that a product part number was scanned in at the previous station before proceeding. Right now, it...

View Article

using of multiple do while loop?

Hi, I would like to ask you how to use multiple do while or if there is another way how to automate this type of calculation. I have worksheet with closing prices of stocks named Closed. On another...

View Article

What would be your top 5 wishes

Hi guys. I'm curious, what features would you like to see added to brilliant database. What for example would be your top 5 wish list items. My top 5 would be.... 1: I'd like to be able to compile my...

View Article


how to make search button

i try to make s school sport system but i stuck when i need to call student base on their event.. example when i need to update the 100m male result i just type event id number like 1001 for 100m (M).....

View Article

SQLite : evaluate expression stored as string : How

Hello all I am storing a condition (as text) as a column in a table, say '> 2'. Another table has a number stored as text , say '10' I need to evaluate the condition if 10 > 2. I have searched...

View Article


Multiple record entry in one form

I am setting up a database in MS Access for a small business in order to track the weights of agricultural commodities as they pass through a smaller sized processing plant. The fields are: LotID...

View Article

Join before the join

If I had a 3 tables like this Table a (parent device) log_time | serial | code_id Table b (child device) log_time | serial | device_index | parent_serial | code_id Table c (code decipher) id | name...

View Article


DB2 Restore dump file from 10.1 to 10.5 failed

Hello, I had an error concerning the restore of a dump file created on DB2 10.1. I try to export it in DB2 10.5 version but I had this problem: Code: SQL2519N  The database was restored but the...

View Article

Same SQL, Same permissions, different results HELP!?

Afternoon All, Apologies in advance as I am unable to post the script, however, I am running the exact same script as 4 other computers on the company network (two admins and one who has the exact same...

View Article

sql query arrays

Hi all, Long time follower, first time poster. I have a drama finding information that will help me with arrays and looping. I have a sql query based on an array of question_ids from a previous form....

View Article
Browsing all 13329 articles
Browse latest View live