Viewing 14 posts - 436 through 449 (of 449 total)
Use the convert function. Here's an example with local declarations
declare
@inputval varchar(50), --your original string value
@converted decimal(10,2)
set @inputval = '-002345'
set @converted = convert(decimal(10,2),@inputval,0)
print @converted
-2345.00
August 26, 2004 at 9:23 am
I forgot to answer the 2nd part to your question.
"Is there a way once the table in in SQL server to simply re-designated the database owner part of the...
August 26, 2004 at 5:42 am
You should import the table into sql server from sql server. Run the DTS-Import wizard, or right-click tables and select import data. Select Microsoft Access as your data source.
This will...
August 26, 2004 at 5:38 am
Can you test and try to insert 1 row using query analyzer to see if you get the same error on one of the previously replicated tables?
One time when I...
August 25, 2004 at 8:23 am
How are you inserting the new data? Through SQL Data Compare? We also use that tool but do not drop the subscriber when inserting data into the publication and haven't...
August 25, 2004 at 6:35 am
Even without a maintenance plan you can write the job steps to an output log.
August 20, 2004 at 5:22 am
Is the subscriber registered at the publisher exactly how it is named at the subscriber? This may require an alias be set up.
Example:
subscriber in domain B (outside) named
subscriberserver\subscriber
Registered in Domain...
August 19, 2004 at 6:02 am
In FULL recovery mode, the transaction log will not make available the space until a full backup is performed, or a transaction log backup is performed at which point the...
August 19, 2004 at 5:45 am
Repost (I don't think my previous post took)
We had a similiar problem replicating sprocs. It seems the method the sproc is created may cause a problem. Enterprise manager seems to...
August 12, 2004 at 8:21 am
Are you using replication, or are you creating this procedure in Enterprise Manager?
August 12, 2004 at 6:14 am
What are you trying to gain from manually incrementing the unique index? Are you constrained by a business rules?
We also use identity column for hundreds of tables in our databases...
August 12, 2004 at 6:05 am
Was a new snapshot recently generated which included object changes?
If so, and the snapshot is being applied then:
When subscribers are set up their either already have the schema and...
July 22, 2004 at 5:27 am
I would use merge replication in this case. You may also want to consider starting the identity seeds for A and B differently to prevent conflicts from occuring during the merge. ...
July 7, 2004 at 5:00 am
rerun the snapshot, then resync. By default the subscription is set to expire in 14 days.
June 2, 2004 at 4:53 am
Viewing 14 posts - 436 through 449 (of 449 total)