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 > october 2005 > threads for saturday october 29

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

Joe Celko Theory
Posted by Frankie at 10/29/2005 8:36:26 PM
Just theorizing here that "Joe Celko" is really more than one person... actually a common alias used by all the MVPs to say what they Really Think whenever they see some totally stupid question. The real Joe Celko who served on the ANSI committee retired years ago to a small village in Borneo ...more >>


Stored Procedure Variables
Posted by Anthony Robinson at 10/29/2005 8:27:51 PM
I'm getting an error when trying to compile a stored procedure. Here's the code: CREATE PROCEDURE GetMyFriends=20 @UserdID INT AS --DECLARE @FRIENDID INT CREATE TABLE #FRIENDS (USERID INT, FRIENDID INT, INVITATIONTYPE BIT, CREATEDDATE DATETIME) CREATE TABLE #FRIENDS_2 (USERID I...more >>

Finding the latest datetime from SP
Posted by Kent Ogletree at 10/29/2005 5:14:57 PM
I am trying to get the latest datetime information from a tables audit trail feild and return it. The stored procedure is: CREATE procedure dbo.LiveSchedule_ScheduleGetUpdateTime AS DECLARE @LastSync datetime select @lastSync = max([UpdatedOn]) FROM LiveSchedule_Schedule IF @LastSyn...more >>

Ignore errors?
Posted by Jan Eliasen at 10/29/2005 1:55:00 PM
Hi I have a stored procedure, which basically copies data from table in one database into a table in another database. Both databases are on the same serverinstance. Now, sometimes the data I am copying violates constraints on the receiving table. My stored procedure therefore checks for er...more >>

Most efficient way to poll a table?
Posted by E at 10/29/2005 12:54:01 PM
Hello technet community: Using SQL SERVER 2000 with VB 6 SP6, and ADO 2.6 Have to monitor a table containing status values. As of now, a timer event is launched on the client that runs a server-side query (connected recordset) using read-only, forward-only recordset attributes. These ...more >>

Another Newb SQL Question
Posted by A_StClaire_ NO[at]SPAM hotmail.com at 10/29/2005 11:47:10 AM
me again. been staring at this and can't see what's wrong. SELECT tblCustomers.companyName, tblOrders.orderID, tblOrders.freightCharge, tblOrderDetails.unitPriceOnOrderDate FROM tblCustomers JOIN tblOrders ON tblCustomers.customerID = tblOrders.orderID JOIN tblOrderDetails ON tblOrders.o...more >>

Syntax Problem
Posted by Wayne Wengert at 10/29/2005 7:42:21 AM
I am getting the error: "Invalid column prefix 's.': No table name specified" when I try to run the query shown below. The three table names are all valid. Why doesn't it recognize the alias? ==================================== SELECT i.LastName, i.FirstName, a.Under18, a.DietRestrictions...more >>

Pivoting a one-many relationship into 1 row
Posted by DS at 10/29/2005 3:57:13 AM
Hey everyone, this message comes in two forms, the short version and the long detailed version-- that way hopefully I can get all the help possible as fast as possible :) Short version: I have a table Names(names_id, name1, name2) that I normalized into 2 tables: Name(name_id, name) and C...more >>



DTS is rubbish
Posted by Damien at 10/29/2005 1:04:01 AM
I'm gonna say something slightly controversial just to get a bit of debate going, but I think DTS is just a drag and drop wizard for programmers who don't know what they're doing. As with any wizard, it can take you so far, but if you need anything complicated it's an ActiveX script. You do ...more >>

Creating Tables on the Fly
Posted by Neil at 10/29/2005 12:00:00 AM
I have an Access 2000 MDB with ODBC linked tables to a SQL Server 7 back end. I currently have a selections table in the front end file which the users use to make selections of records. The table has two fields -- primary key (which matches primary key of main, SQL Server table), and a boolea...more >>


DevelopmentNow Blog