Viewing 15 posts - 541 through 555 (of 5,103 total)
n_parker (2/9/2009)
I have:
select ver AS TOPVER from mytable
where partnumber = 'P7029'
order by len(ver) desc, substring(ver, 1, 1) desc, substring(ver, 2, 1) desc
which works and...
* Noel
February 9, 2009 at 1:31 pm
milan (2/9/2009)
I have a got two tables and the relation is one to many - meaning a single entry in the main table will have exact 12 records in the...
* Noel
February 9, 2009 at 1:19 pm
Vijaya Kadiyala (2/9/2009)
What if the table already exists, so in this case we have to use...
* Noel
February 9, 2009 at 1:16 pm
Usually network overhead is very little (negligible) unless the amount of data is very large.
* Noel
February 9, 2009 at 1:10 pm
You can *still* use rowmodcntr from sysindexes compatibility view.
It now changes not only with "row" but also "column" changes.
* Noel
February 9, 2009 at 1:07 pm
There were some cases I had to deal with situations similar to this.
Suppose (as in this case) your DB is small.
Instead of dropping the tables you could have staging tables...
* Noel
February 9, 2009 at 12:33 pm
Maria,
You *MUST* use the exact server name that pops up on it when you run
SELECT @@servername
* Noel
February 9, 2009 at 12:26 pm
I am here with DaveB.
"IF" you can use Log-shipping, you should!
* Noel
February 9, 2009 at 12:23 pm
As Long as you are not changing the schema. I believe the 'sync' jobs should apply the "diff" and not drop+create the tables entirely.
There are many solutions that can be...
* Noel
February 9, 2009 at 12:18 pm
TRACEY (2/9/2009)
Would it be recommened to run the udpate statistics on the database B.
I normally don't run on the replicated database. ...
* Noel
February 9, 2009 at 12:10 pm
If you run:
select sum( character_octet_length)
from information_schema.columns
where table_name ='LEAD'
and data_type not in('ntext','text','image' )
and character_maximum_length is not null
the maximum size...
* Noel
February 9, 2009 at 12:05 pm
convert the NCHAR fields to NVARCHAR
That is only going to "hide" the problem
Do you really need NVARCHAR instead of VARCHAR ?
* Noel
February 9, 2009 at 11:54 am
In addition it looks like you need normalization (a lot) on that table.
* Noel
February 9, 2009 at 11:04 am
gharris_35 (2/9/2009)
2. Here is the DDL for the unchanged table:
CREATE TABLE [dbo].[Lead](
[Lead_LeadID] [int] NOT NULL,
[Lead_CreatedBy] [int] NULL,
[Lead_CreatedDate] [datetime] NULL,
[Lead_UpdatedBy] [int] NULL,
[Lead_UpdatedDate] [datetime] NULL,
[Lead_TimeStamp] [datetime] NULL,
[Lead_Deleted] [int]...
* Noel
February 9, 2009 at 11:02 am
Viewing 15 posts - 541 through 555 (of 5,103 total)