Archived Months
January 2003
March 2003
April 2003
May 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
April 2008
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 >>



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 >>


DevelopmentNow Blog