Viewing 11 posts - 31 through 41 (of 41 total)
SELECT * FROM tblAudit
EXCEPT
SELECT Room, Location, SubLocation, IDNo FROM tblMain
The requirements are not very clear (no DDL of the tables, no expected output). Anyway do you mean something like that:
SELECT...
April 28, 2009 at 3:42 am
I have written a loop to transfer data from one table to another. In the code below what can I do to have it increment to the next...
April 24, 2009 at 8:21 am
if (R at Time T) < (R at Time (T-1)), then Rcalc = 0, otherwise, Rcalc = [(R at Time T) - (R at Time (T-1))]
CREATE TABLE MyWeather
(T DATETIME...
February 27, 2009 at 6:49 am
Am I incorrect in this thinking? or Is it better to pass the enitre table. I figured that passing the field would be more efficient than passing the entire table....
February 20, 2009 at 1:27 pm
Paul,
What am I doing wrong?
try this:
CREATE TABLE Pauls_Addresses
(company_code INT NOT NULL PRIMARY KEY,
company_name VARCHAR(30) NOT NULL,
company_address VARCHAR(255) NOT NULL,
company_address1 VARCHAR(30), -- new address line1
company_address2 VARCHAR(30), --...
February 14, 2009 at 6:39 am
I just saw this post in another group:
http://groups.google.com/group/comp.databases.ms-sqlserver/browse_thread/thread/4584f53be9b7b973#
I have not tested it yet, but it seems this guy has a similar problem and found his way through it. Might be...
February 13, 2009 at 8:45 am
Your address pieces should definetely be split into separate columns in your address table. The front end (your report definition) should handle to omit those columns, which are NULL then.
brgds
Philipp...
February 11, 2009 at 7:59 am
One way could be to edit the .csv file with a text editor and replace the slashes with at tab or vice versa in order to maintain one delimiter only.
brgds
Philipp...
February 10, 2009 at 2:44 am
I'm assuming your problem was that 1900-00-00 is not a date?
Suppose the data came from MySQL as this is proprietary to them and does not port.
brgds
Philipp Post
February 9, 2009 at 8:09 am
>Find out the models and prices for all the products (of any type) produced by maker B.<
SELECT P.model, PC.price
FROM Product AS P
INNER JOIN PC
ON P.model = PC.model
WHERE...
February 6, 2009 at 6:25 am
Viewing 11 posts - 31 through 41 (of 41 total)