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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|