Viewing 11 posts - 49,561 through 49,571 (of 49,571 total)
Unfortunatly I have no control over table names. Amoung the tables I have in this db are a couple called System_
I can do some sql to find all tables that...
July 5, 2004 at 8:09 am
sp_help '
June 29, 2004 at 12:12 am
srowlands: a trigger fires once per operation. If an update affects 20 rows of a table and there is an update trigger, then the trigger will fire once and both...
June 15, 2004 at 5:04 am
I'm no expert on replication, but can't you do a sp_repladdcolumn to create a temp column, copy the data over, sp_repldropcolumn to remove the old one, then do another sp_repladdcolumn...
June 15, 2004 at 4:52 am
There are actually two things wrong, the one the correct answer refers to and the additional problem that on an insert, no records will be inserted due to the inner...
June 14, 2004 at 11:29 pm
Select @var1=col1, @var2=col2 from table where....
HTH
June 14, 2004 at 4:15 am
The integer portion of a datetime is the date and the fractional is the time. I don't know the details of how it's stored though.
What are you trying to do...
June 14, 2004 at 4:12 am
For some reason I couldn't reply to your other post...
I've found that inserting a date into SQL in the format yyyy/mm/dd is often best. It's unambiguous.
Maybe you can switch the...
June 13, 2004 at 11:45 pm
By default, a primary key is supported by a unique clustered index, so by dropping the key and creating the index you won't be gaining anything.
You will gain if...
June 7, 2004 at 11:47 pm
Alternatively if you want to avoid the conversion to char
select count(*) from
WHERE
cast(floor(cast([datetime] as float)) as datetime) = cast(floor(cast(getdate() as float)) as datetime)
The above is faster than a...
June 4, 2004 at 1:13 am
Viewing 11 posts - 49,561 through 49,571 (of 49,571 total)