Viewing 15 posts - 8,341 through 8,355 (of 15,381 total)
salliven (5/14/2013)
How do you know that?
I'm managing more Microsoft replication.
But Microsoft replication is slow and inflexible. Our replication program is fast and flexible (example: maximum 0,5 sec replication latency,...
May 14, 2013 at 1:28 pm
Something like this?
It assumes that all the values for INCOMING_VALUE will be numeric.
select right('00000' + cast(CAST(INCOMING_VALUE as int) as varchar(5)), case when CAST(INCOMING_Value as int) > 9999 then 5 else...
May 14, 2013 at 1:01 pm
salliven (5/14/2013)
Ok, thanks!But the Microsoft replication is knows insert without identity reseed.
How do you know that? I am not disputing it, I am curious if you know that as...
May 14, 2013 at 12:51 pm
rightontarget (5/14/2013)
I've copied a database to a new server. How do I make database on original server inaccessible to users while I am checking that everything is OK with...
May 14, 2013 at 12:41 pm
PSB (5/14/2013)
I have a query where it returns exact same value for all fields except 1 field.
Example
CREATE TABLE #Temp1 ( recid int identity (1,1),SiteID INt,TankID INT,TNo INT,PDate DateTime,Gallons INT,Status1...
May 14, 2013 at 12:36 pm
hamed1337 (5/14/2013)
Sean Lange What do you mean? Can i make the 2008 to 2000?
By setting the compatibility mode. You can right click the database in object explorer -> Properties ->...
May 14, 2013 at 12:31 pm
salliven (5/14/2013)
@sean-2 Lange:
DBCC CHECKIDENT ('#table', RESEED, @SeedValue)
CHECKIDENT isn't good. I would like insert without identity reseed.
That is how it works salliven. When you manually insert values into an identity...
May 14, 2013 at 12:25 pm
Sapen (5/14/2013)
Sean Lange (5/14/2013)
May 14, 2013 at 12:19 pm
Seems a bit strange that you can put a trigger on a table but not a unique constraint. The constraint will perform better and is effectively doing the same thing...
May 14, 2013 at 10:50 am
OK I am trying to help you but you don't seem to want to put in even as much effort as I do. You are getting paid for this and...
May 14, 2013 at 10:25 am
Didn't we just go through the do's and dont's of posting yesterday? Can you please post some ddl and sample data along with desired output?
I did it for you yesterday....
May 14, 2013 at 10:03 am
jjgier (5/14/2013)
I have a set of IF THEN logic that create additional fields. Does anyone have a great grasp of how to convert the attached examples from IF...
May 14, 2013 at 10:00 am
I absolutely agree with Eugene that this is not a good idea but you can work with by using your own reseed.
CREATE TABLE #table (id int IDENTITY (1,1), col1 int)
INSERT...
May 14, 2013 at 9:38 am
If it is an update you after it would be something like this:
Update YourTable
Set Country = 'GB'
where Country IS NULL
May 14, 2013 at 9:33 am
lenar.chavez (5/14/2013)
The issue here is that on the same table...
May 14, 2013 at 9:28 am
Viewing 15 posts - 8,341 through 8,355 (of 15,381 total)