all groups > sql server programming > december 2006 > threads for sunday december 31
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
need necessary help pls
Posted by Nassa at 12/31/2006 11:11:16 PM
Hi Everyone,
I have 3 tables
-stocktbl(GSC,title,code),PK:GSC
-invoicedetailtbl(GSC,Comment,quantity,fee,fk_invoicesyscode,Syscode),PK:Syscode,FK:fk_invoicesyscode
-invoicetbl(customername,comment,invoiceserialno,invoicedate),PK:invoiceserialno
I want to find a query of the last date and fe... more >>
help with conditions in WHERE clause
Posted by Keith G Hicks at 12/31/2006 10:48:09 PM
In a stored procedure (sql 2k) I'm passing a parameter for whehter or not
the result set returns rows if a column is null.
@ReturnTimedOrNotTimed CHAR(1)
IF @ReturnTimedOrNotTimed = 'T'
SELECT ......
FROM ...
WHERE
PickupTime IS NOT NULL
ELSE IF @ReturnTimedOrNotTimed... more >>
Happy New Year to one and all !!!
Posted by Hassan at 12/31/2006 10:46:59 PM
Wishing all of you a splendid 2007. Thanks to all of your contributions...
It sure is nice not just to have questions answered but also read the
answers to questions posted by others.
And a special thank you to those answering our questions. Sure wouldn't be
fun resolving SQL issues if not ... more >>
Calculation with Read Data Type
Posted by Leila at 12/31/2006 8:49:15 PM
Hi,
Why the result of my calculation is not simply 3.7?
declare @x real
declare @y real
set @x=23.5
set @y=19.8
select @x-@y
I just want to know its reason, please don't suggest Money or other data
types!
Thanks in advance,
Leila
... more >>
stored procedures vs. views for client side report datasets (sql 2k)
Posted by Keith G Hicks at 12/31/2006 3:04:06 PM
Using ms sql 2k
I used to write a lot of stored procedures as sources for client side
reports. Recnetly I've realized that many times it would be much easier to
use views. Much of the time this has proved to be the case. However, I'm
afraid that sometimes I'm going too far in that direction.
... more >>
How can I return number of rows based on a value in a query
Posted by Keith G Hicks at 12/31/2006 12:43:00 PM
I have a query based on several tables that returns something like this (the
number of palettes is calculated based on info in the other tables):
Customer Route NumPalettes
--------- ------- -----------
Fred A 3
George ... more >>
Error Retreival
Posted by BrentS at 12/31/2006 11:11:44 AM
I'm looking for help in retrieving errors correctly. Below is a sql example
that I'm using. The table BRENT has been created with one column, that
column being the PK and a single row sucessfully inserted. When attempting
to insert the same row I should and do get a constraint error. While the... more >>
Taking tbl 1 and addint it to tbl2....
Posted by C at 12/31/2006 4:44:38 AM
Since you guys were AWESOME! at helping me with my first problem here
is another... if you can...
I have two tables in two different databases. db1 has lets say 10
columns and db2 has 5.
All the columns in db1 and db2 are nullable.
I can't figureout how to take the five columns in d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Adding Column Data from 2.......
Posted by C at 12/31/2006 1:28:44 AM
Ok, I have been trying to figureout something for a long time and by
that I mean a couple of days.....
What I want to do is take the data from two colums and add them
together into one column.
All three columns have the same properties. nvarchar(19) and allowing
nulls
I want to do this... more >>
Backing up my database
Posted by Ben at 12/31/2006 1:21:01 AM
Hi,
I was wondering,
since I use SqlServer Express, all I need to do is simply make a backup of
the mdf and ldf files of the database, and that's it, I have a backup of my
database.
Is this correct, or do I need to do some other things in addition?
Thanks,
Ben... more >>
|