Viewing 15 posts - 406 through 420 (of 557 total)
Alexander Suprun (11/28/2013)
Your client application should take care of formatting.
Sometimes the client application is less suetable for the formatting.
For example I sometimes do the formatting within SQL-server when serving for...
November 29, 2013 at 2:20 am
This is a rather old thread, so for this question it would have been better to start a new thread.
I use the numbers always as a rough indication;
Table Name ...
November 10, 2013 at 8:41 am
Use the following code to just see what is happening:
--------------------------------------------------------
-- Actual code to prepare for an UPDATE a Select
--------------------------------------------------------
;with
A as...
October 14, 2013 at 8:46 am
Sean Lange (10/8/2013)
I am not really sure what you are trying to do or what the question is.
Sp_generate_Inserts, generates insert statements from an existing table. For example to create (part)...
October 14, 2013 at 8:33 am
--------------------------------------------------------
-- Actual code to UPDATE
--------------------------------------------------------
;with
A as (
select
...
October 8, 2013 at 8:04 am
For this type of problem I like the Windows functions to give each row a number which makes the row unique.
With CTE the 'double' rows can be removed.
...
October 8, 2013 at 7:56 am
Sorry additional,
I did write:
I am aware of the 'database task generate scripts'.
But I do not know how to do this with a scripted command.
(As with sp_generate_inserts, example:
sp_generate_inserts My_Table
)
sorry...
October 8, 2013 at 6:51 am
Thanks all,
Did try the suggested code, and indeed this was different than I expected. Thank you for educating me.
Thanks,
Ben
August 2, 2013 at 9:32 am
Eugene Elutin (8/1/2013)
It's not just "allows" dirty read. It does exactly perform what is called "dirty reads"!
For my understanding:
1. Dirty reads is the reading of data which is not (yet)...
August 1, 2013 at 4:20 am
Eugene Elutin (7/29/2013)
RAISERROR has in-built token parsing functionality!
Thanks all for your responses:
Stop thinking about what you want to do to a print... think, instead, of what you want to do...
July 30, 2013 at 4:55 am
Jeff Moden (7/26/2013)
July 29, 2013 at 2:01 am
Lowell (7/25/2013)
--fails
EXEC iSPRINT 'This is a teststring to print time: ' , CONVERT(varchar(112,getdate())
--works
EXEC iSPRINT 'This is a teststring to print time: ' , 'when Spongebob','IsOn Nickelodeon'
But this...
July 26, 2013 at 10:35 am
Lowell (7/25/2013)
just add EXEC in front of your iPrint calls:
EXEC iPirnt @Param and you are good to go!
--------------------------- Wat I am looking for. (This does produce an error).
EXEC...
July 25, 2013 at 9:25 am
Thanks, we went ahead with this with no problems.
Thanks again for your input.
Ben
July 12, 2013 at 9:31 am
ben.brugman (7/4/2013)
Can this be done online?Ben Brugman
Maybe not the correct question.
If this is done online will this cause locks over a long duration ?
Or does it just handle just one...
July 4, 2013 at 8:10 am
Viewing 15 posts - 406 through 420 (of 557 total)