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


all groups > sql server programming > september 2006 > threads for sunday september 3

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 Ordering in 2 directions
Posted by leon.vandenberg NO[at]SPAM hambisana.co.za at 9/3/2006 11:34:07 PM
Hi, I'm having a problem with sorting data according to date. I've got a flag in the database called published. If published is true then the date should be sorted desc, else asc. I used the union all to try and get a combined result set but get an error if I run the following query SELECT ...more >>

How to list all indexs from a table?
Posted by Andreas Klemt at 9/3/2006 7:54:14 PM
Hello, how can I list all indexs from a table? sp_indexes myTable does not work. Error message: Could not find server 'myTable' in sysservers. Execute sp_addlinkedserver to add the server to sysservers. Thanks for any help in advance! Regards Andreas Klemt ...more >>

get data between specific rows
Posted by phil2phil at 9/3/2006 6:57:18 PM
Hi, Is there anyway to get data from a specific row to row, suppose I have this select query: select * from Items order by ItemsPosition which returns 100 items, now I only want items 1-10, and then later 11-20, the values will be inserted through a program into the query, is there a way...more >>

import 1 mln records = problem
Posted by Dariusz Tomon at 9/3/2006 4:58:02 PM
Hi I encountered a problem when I'm trying to import data from a flat table to several tables of the same databases. There are about 1 mln records inside the flat table called XX_ZRODLO. The stored procedure for import seems to work and import data but after about 15000 it stops and it seems ...more >>

SQL server connection problem
Posted by djamilabouzid NO[at]SPAM gmail.com at 9/3/2006 3:47:19 PM
Hi! I have some problems with ms sql server database connection. When I wrote the following function (in VB): sub Remplir_Theme() Dim connectionString As String =3D "Data Source=3D.\SQLExpress; AttachDbFileName=3D|DataDirectory|\BasedeDonnees_babySQL.mdf ;Integrated Security=3Dtrue; User In...more >>

Query question
Posted by Joseph at 9/3/2006 2:47:02 PM
Hi, I need some help with writing the SQL definition necessary to do the following: (Cut and paste into Notepad to see correct layout) Temp table name: #Report1 PERMIT_ID PERMIT_NR PERMIT_TYPE_CD PERMIT_EVENT_DT DATE_TYPE_DS DATE_TYPE_CD ---------------------------...more >>

Trigger When Row Changes
Posted by Stephen Lynch at 9/3/2006 2:24:58 PM
I am trying to set up a trigger where when the last or first name field changes, it will posts the persons EmployeeUID to another table. I have it working except that it sends all of the records to the destination table, not just the single record that changed. Any ideas? CREATE TRIGGER I...more >>

newbie needs help with trouble shooting
Posted by Raymond Du at 9/3/2006 2:06:57 PM
Guys, I was asked to look into why the SQL server run very slowly sometimes. I was told, say, from 9/1/06 6am -6:45 am the server ran particularly slow, is there anyway I can know what jobs were running during that time from Enterprise Manager or other tols? We don't have SQL profiler trac...more >>



Problem updating large number of records
Posted by JMoritz at 9/3/2006 12:17:02 PM
I have a web application, .NET, that uploads an Excel file with thousands of records, creates a DataReader, steps through the records and updates an SQL table with each record. There has to be a better way, I just don't know what it is. Can someone point me in the right direction? John Mori...more >>

SQL Server 2000 - 64bit version - extended procedures
Posted by ps at 9/3/2006 1:35:46 AM
We have made a couple of extended procedure on SQL 2000 32 bit version. Now the database is decided to reside on SQL 2000 64 bit version. Since extended procedures will not work, can anyone give me any links or help how to convert and build those procedures to work with 64 bit version? Than...more >>

concatenate column from rows
Posted by Dahab at 9/3/2006 12:18:39 AM
Hi, Can anyone help me with this query. I have a table GassBottleSize with colums Gas, Bottlesize, id and values ID Gas BottleSize ------------------------------------ 1 Trimix1845 50 2 Trimix1845 100 3 Trimix1170 ...more >>

Doing JOIN with multiple table on multiple fields in each table
Posted by Yaniv Danan at 9/3/2006 12:00:00 AM
I have those Tables: CREATE TABLE GameYellows( id INT NOT NULL AUTO_INCREMENT, AddedDate DATETIME NOT NULL, Player_ID INT NOT NULL, ) CREATE TABLE GameReds( id INT NOT NULL AUTO_INCREMENT, AddedDate DATETIME NOT NULL, Player_ID INT NOT NULL, ) CREATE TABLE GameSubs...more >>

Displaying numeric values
Posted by Robert Bravery at 9/3/2006 12:00:00 AM
Hi all, what would I include in my select statement to have numeric type data to be retrieved in a certain format. So if I have data that looks like 123456789, I would like it to be retrieved as $123,456,789.00 Thanks Robert ...more >>


DevelopmentNow Blog