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 2005 > threads for sunday 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

SQL 2005 Beta : Error with specific table
Posted by Prakash at 11/20/2005 11:20:02 PM
Hi, I have attached SQL 2000 database to Microsoft SQL Server Beta Edition Ver 9.00.1116 and kept Compatibility Level to SQL Server 2000 (80). While updating a table I am getting error for a specific record "Creating or altering table 'FakeWorkTable' failed because the minimum row s...more >>

Can the Output parameter length be more than 8000 characters?
Posted by Sachin Vaishnav at 11/20/2005 10:47:02 PM
Hi! I am running one SP - which needs to return strings, seperated by delimitter. I am using output parameter of type Varchar (8000). I learned that this is maximum length allowed. Now what problem I am facing is, for a particular field, the delimitted text is getting higher than 8000 ...more >>

SQL 2005 Compatibility
Posted by Scott at 11/20/2005 10:37:51 PM
Are 2005 mdf files compatible with version 2000? ...more >>

Dynamic SQL
Posted by Scott at 11/20/2005 9:09:28 PM
I'm trying to build a dynamic sql statement on Northwind. Both attempts below return an error. I'm trying to achieve a dynamic statement without using the sp_executesql SPROC. I've seen examples on the web like my 2 statements below, but I seem to be missing something. Can someone help debu...more >>

Help, a google time
Posted by Antoine at 11/20/2005 5:55:03 PM
Hi, I need help :) I am rather new at rdbms like Access 2003, or SQL Server 2005. I need to finish a DB in Access 2003, then port it to C# 2.0 front end with a SQL Server 2005 Standard DB. I recoil in fright.... Here is the groundwork for my question: I have a table called 'People...more >>

Query help for a desperate non-SQL kinda person
Posted by Dave S at 11/20/2005 3:57:05 PM
Can someone help out a lowly web programmer who's SQL skills are sorely lacking? My usual go-to guy for this stuff is on vacation, and I really need to get a mockup going. I need two queries. The data is so simple that I'm embarrassed not to know this! (I've removed all but the relevant fie...more >>

Check integrity using Triggers
Posted by Islamegy® at 11/20/2005 12:05:51 PM
I'm trying to check integerity using Delete triggers between 2 database but from my C# apllication t always say that the query successfull!! how could i make this work?? ...more >>

Creating Tables with Triggers
Posted by Islamegy® at 11/20/2005 11:27:20 AM
I need an Insert trigger to create a set of tables to my database when i add new record in the top level master table (horizontal partitioning denormalization).. Is this possible using trigger or procedure or even function?? and how?? any help appreciated. ...more >>



How do I count rows
Posted by Mr Newbie at 11/20/2005 11:01:17 AM
Say I want to select rows like SELECT * ID from MYTABLE WHERE ID>20 I need the number returned Cheers -- Best Regards The Inimitable Mr Newbie º¿º ...more >>

Tracking insert and update dates
Posted by Jim Coyne at 11/20/2005 7:25:42 AM
I'm looking for a way to track the dates a row was inserted and the date of the last update, regardless if someone tries to mess with the dates or not. I believe I have found the way, but just wanted to make sure it was the "best" way in terms of speed and accuracy. Any comments welcomed and ...more >>

Form that creates a temporal table
Posted by Tomboy2000 at 11/20/2005 6:01:40 AM
Hey, I have a kind-of-newbie question. I need to create a form that will eventually produce a report in html / asp. while in access that would not be a problem, I'm learning my ways through this project in the asp world. So, I created an access database that should hold the information ente...more >>

T-SQL Newbie needs help to create a simple procedure
Posted by Andi at 11/20/2005 1:48:12 AM
Hi, I have a table called D_AGE. There are just two columns CREATE TABLE [dbo].[D_Age]( [Age_ID] [int] NOT NULL, [Range] [char](10) NULL) The Age_ID will be filled with values from 1 -100. The Range column should be filled with '1-20', '20-40', '40-60'... depending on the age wich was...more >>

Alias in Query
Posted by Anthony Robinson at 11/20/2005 12:00:00 AM
For the life of me I can't seem to find what's wrong with this query.... SELECT DISTINCT u.userId, dbo.fn_zGetDefaultUserPhotoID(u.userid) as UserPhotoId, u.Gender ,u.LastName ,u.FirstName ,dbo.fn_zGetSchoolName(dbo.fn_zGetCurrentSchoolID(u.UserID)) as = CurrentSchoolName ,u...more >>

Is there a way to optimize this query?
Posted by Razak at 11/20/2005 12:00:00 AM
Hi, I have a query as below:- SELECT unit, unitname, ( SELECT TOP 1 id FROM occupants WHERE unit=units.unit AND GETDATE()>=keyrecdate AND (GETDATE()<keyretdate OR keyretdate IS NULL) ORDER BY keyrecdate DESC ) AS curr_occ_id, ( SELECT TOP 1 form_submitted FROM occupants ...more >>

bulk load data from table to table
Posted by Yaniv at 11/20/2005 12:00:00 AM
Hi, Is there a way to bulk load data from table to table other than using DTS? Thanks, Yaniv ...more >>


DevelopmentNow Blog