Viewing 15 posts - 3,811 through 3,825 (of 8,416 total)
Better still, explain what you are seeking to achieve as a whole - there is almost certainly a better design.
April 18, 2010 at 8:25 pm
Barkingdog (4/18/2010)
That was helpful.Would this interpretation of the original code be correct?
No, the ROLLBACK TRANSACTION would fail if the error had already caused the transaction to abort.
Use XACT_ABORT() rather than...
April 18, 2010 at 8:23 pm
SSIS is a natural solution, you might also like to consider:
1. An external tool like WGET (call from T-SQL/Agent then bulk load the local file)
2. SQLCLR
April 18, 2010 at 8:20 pm
You can't use automatic identity range management for a table that is published using both merge and transactional replication. Either set the merge article to use manual management at...
April 18, 2010 at 8:10 pm
Tom.Thomson (4/16/2010)
...I would stick to your original description of item-wise checking for this application despite hashbytes (MD5) being vastly better than checksum.
In defence of HashBytes...
HashBytes can use the MD2, MD4,...
April 18, 2010 at 7:37 pm
TheMastermind (4/16/2010)
Sorry! I thought anyone would be able to grasp the ABC psudocode :-).
Not everyone can be a 'master mind' - you'll have to bear with us if we seem...
April 18, 2010 at 7:27 pm
klininger (4/16/2010)
Or, is there a suggestion box where I can start a petition for this to be an option rather than a feature I don't want?
April 18, 2010 at 7:22 pm
dachen (4/16/2010)
what would be the best way to do this without updating records. i need to have traceability into what changed.
Looks like you are looking to audit changes here....
April 18, 2010 at 7:20 pm
Stefan_G (4/17/2010)
You should also consider permanently changing the datatype of this column to datetime, or perhaps time.
Absolutely, yes. Problems related to storing dates and times as something other than...
April 18, 2010 at 7:06 pm
Stefan_G (4/18/2010)
...the reason I use sys.columns is that it is slightly more efficient than sys.all_columns. sys.columns only accesses a single table, while sys.all_columns is a join.
With master as the...
April 18, 2010 at 7:03 pm
george sibbald (4/18/2010)
It does the same as any other full backup, it takes the active part of the transaction log so the database can be restored to a consistent point.
Exactly...
April 18, 2010 at 6:55 pm
vmssanthosh (4/18/2010)
hiThis is my way..
declare @date varchar(100)='201012'
select convert(varchar(6),dateadd(M,1,convert(date,@date+'01')),112)
That's fine - but why use VARCHAR for fixed-length data? 😉
April 18, 2010 at 6:17 pm
Dobermann (4/18/2010)
Yes, I agree. Since I was creating a new table though, I knew it had but the one PK and did not have to worry about declaring clustered.
Ok....
April 18, 2010 at 6:15 pm
Tom.Thomson (4/18/2010)
Hey, Paul, for once we agree that some bad wording is a bad thing, not a minor point. Is this a record?
It might be 😀
April 18, 2010 at 6:05 pm
I've just noticed that this question's title is Model.mdb...ok so *.mdf is not enforced, but why mdb - does Access have a model database too? 😉 😛
April 18, 2010 at 5:21 am
Viewing 15 posts - 3,811 through 3,825 (of 8,416 total)