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 > november 2004 > threads for saturday november 20

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

C++ and Java Classes
Posted by MAS at 11/20/2004 11:45:02 PM
Dear All, Is there a way to write C++ or Java Classes to run on SQL Server Thanks, M. A. S....more >>


Packaging stored procedure
Posted by MAS at 11/20/2004 11:43:02 PM
Dear All, Is there a way to package stored procedures and functions with global variables in a way that is simiar to Oracle's Packages? Thank you, M. A. S....more >>

Retrieving data from 3 different records in one stored procedure
Posted by Harolds at 11/20/2004 10:37:01 PM
I need to get data from the same column from 3 different records in the same table with a select type stored procedure. Let my try to clarify: for each column A get column b where column c = 1 and 2 and 3....more >>

Master SP
Posted by Ed at 11/20/2004 9:47:01 PM
Hi, Is there anyway to retrieve all stored procedures for a specific table from Information.Schema ? If I use Select * from sysobjects where type = 'P', how do i know if the store procedures is a system sp or a user sp? is that based on a column called "Category" and value = 0 ?? Thanks ...more >>

Is there a better way for this union and total
Posted by Rythm Music at 11/20/2004 7:14:02 PM
Table1 ---------- Col1 Col2 1 10 2 5 Table2 ---------- Col1 Col2 1 5 2 20 Intended RESULT: ---------------- TableName Col1 Col2 - - - - - - - - - - - Table1 1 10 Table1 2 5 Table2 1 5 Table2 2 20 Total 1 15 ...more >>

When is view best?
Posted by Leon at 11/20/2004 5:36:26 PM
When is it best to get derive/compute information in a view than just storing it the table? Two Tables Example: Should I Store the JackPotPaidOut, NumbersOfWinnerWon, and AmountWon in there respected table below or just keep them stored in the table? If the drawing jackpot is $5.00 and ...more >>

Business Rules & Referential Integrity
Posted by Paul Johnson at 11/20/2004 4:43:34 PM
Good Day All. I have been trying to find general answers to a very specific question about application design and implementation using DotNet. My situation is that I would like to design and implement a Web Application. I would like to avoid using datasets in favour of the datareader to ...more >>

smalldate conversion syntax
Posted by smk23 at 11/20/2004 3:15:03 PM
newbie question: I am writing a SP to update tables using vba (Access) and ADO on the frontend. When I set my parameter type for a date, I use adDate, but then get conversion error because the date column in SQL is smalldatetime. The form is unbound and loaded with a smalldatetime value. I ...more >>



substantiate SELECT
Posted by marcinsiewiera NO[at]SPAM interia.pl at 11/20/2004 1:58:59 PM
Is there any way to substantiate SELECT clause, something like trigger INSTEADOF, but for SELECT. I appreciate your answers...more >>

Top 1 Query
Posted by Dave at 11/20/2004 1:24:16 PM
Hi All, TableUser UserID Active -------- -------- Dave 1 John 0 Lisa 1 TableData UserID Sales Date -------- ------- ------- Dave 50 Jan 1, 2004 John 20 Jan 2, 2004 Dave 30 Jan 1, 2004 Lisa 20 Jan 2, 2004 John 10 Jan 2, 2004 Lisa 100 Jan 2, 2004 It should be something like thi...more >>

UDF question
Posted by marcinsiewiera NO[at]SPAM interia.pl at 11/20/2004 1:06:44 PM
I have a problem with UDF. i have MyFunction which is supposed to return some temp table SELECT * FROM MyFunction('From clause') I need to parse From clause in order to change names of some tables and then join them altogether again. Is it possible to write any TSQL code in UDF function a...more >>

dates with leading zeros
Posted by Andrew Bullock at 11/20/2004 12:26:12 PM
Hi, I hope you can help me, I've got a problem returning records by date where there is a leading zero on the day. I first execute this (via visual basic): strSQL = "select distinct `lDate` from `LOG`" which works correctly. I then want to loop though the results and get every specif...more >>

drop table if exists
Posted by shank at 11/20/2004 10:43:45 AM
DROP TABLE IF EXISTS xTest causes error... Incorrect syntax near the keyword 'IF'. What is wrong? The table does exist. thanks ...more >>

temp tables and adding columns
Posted by shank at 11/20/2004 9:25:49 AM
What I'm trying to do is create a temp table, populate it, add 2 more columns and update those 2 columns. I'm stuck on the adding 2 columns. Is it possible to add columns to temp tables? If not, how can I create them? thanks! -------------------------------- SELECT ItemStock.Manuf, ItemSt...more >>

question of using a TSQL cursor
Posted by mountain man at 11/20/2004 8:00:49 AM
I have an existent text file in the following format: ================================ Department: South-East XXXXX AAAAAAAAAAAAA XXXXXXXXXX XXXXX AAAAAAAAAAAAA XXXXXXXXXX XXXXX AAAAAAAAAAAAA XXXXXXXXXX XXXXX AAAAAAAAAAAAA XXXXXXXXXX Department: North-West XXXXX AAAAAAAAAAAAA XXXXX...more >>


DevelopmentNow Blog