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 2003 > threads for saturday november 15

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

Deleting associated records
Posted by Meher Malakapalli at 11/15/2003 11:46:26 PM
Hi, I need some help in deleting associated records in two tables. My table DDL is as follows: Create table tblPSO (Rowid int identity (1,1), SiteID int, SCN int) Create table tblPSOSite (Rowid int identity(1,1), ...more >>

Fast way to change all NVarChar types to Varchar?
Posted by John Rugo at 11/15/2003 10:22:54 PM
Hi All, Is there a prefered method of changing a bunch of fields from NVarChar to VarChar? ...more >>

Count matches in threesome
Posted by Ray at <%=sLocation% at 11/15/2003 8:48:01 PM
Hi group, I cannot figure out my query. Here is what the tables look like in a simplistic way. PermDefs: PermDefID PermTitle 1 Make changes to w 2 Make changes to x 3 Make changes to y 4 Make changes to z ADUsers: SID ADFullname aaa Joe Smith ...more >>

delete only rows that can be deleted
Posted by KK at 11/15/2003 8:34:24 PM
Hi, I want to delete rows that are not referred from any table (foreign key constraints). If I write "delete from MyTable" the SQL Server does not delete anything because one or more rows are primary keys for foreign keys used in other tables and that causes error message. I presume the ...more >>

row deletion
Posted by torgrim at 11/15/2003 8:27:56 PM
I have three rows,A ,b and c.All of these also have unique columns where the value is an integer which increase by 1.When the first row has a column value of one,the next is having the value 1+1,and so on.Therefore when i delete row b,the row c will have the value 3 and not 2.Is this being...more >>

Too many indexes?
Posted by Hugo at 11/15/2003 5:05:44 PM
Hi All, Index tunning Wizard offers to add a few indexes, something like: CREATE INDEX index_one ON table(col1, col2, col3) CREATE INDEX index_two ON table(col1, col2) CREATE INDEX index_three ON table(col1) The question is: do we really need index_two and index_three since we have col2 and...more >>

Detect "Enter" keycode in data
Posted by kriste at 11/15/2003 3:46:50 PM
Hi I've a VARCHAR column that corresponds with multi-line textbox. The problem is that I need to extract the data into a textfile as a single line text but there are "Enter" key in the data causing the extracted line to be multi-line too. Is there any method to detect those "Enter" key in the ...more >>

STRING
Posted by Carrasco at 11/15/2003 3:36:05 PM
Hi If someone can help I´ll apreciate I have a string column in my table and I would like to create a process that reads this column from the right to the left and as soon as the process find a ´\´ - it stops and only store the content that have been read from the right to left ! Is there a...more >>



sp_helpstats
Posted by radha at 11/15/2003 1:39:45 PM
BOL says it returns statistics information about columns and indexes on the specified table. but when I run this it does not include indexes. Thanks in advance, ...more >>

Query Help - Editing Text in Long Description
Posted by D Long at 11/15/2003 11:27:43 AM
I have a table with a column that contains a long text description. What I'd like help with is how to replace just certain words or phrases within that description. I've set up the table for full text indexing but am not sure what to do next. The column is nText type. What I'd like to do is...more >>

SOUNDEX?
Posted by Olav Tollefsen at 11/15/2003 10:10:43 AM
I would like to search on strings that sound similar and to do this I'm experimenting with the SOUNDEX and DIFFERENCE functions. One problem that I have found is that the SOUNDEX function is not capable of detecting rather huge differences, like in this example: SOUNDEX('Margretes vei') = M6...more >>


DevelopmentNow Blog