Forum Replies Created

Viewing 15 posts - 211 through 225 (of 272 total)

  • RE: how to backup without the whole data

    There is no command that will do a partial backup, that would not really be a backup at all.

    You can go table by table with "select top 10 * from...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: missing query on remote desktop connection

    Unless the reslults were saved to a file, they are gone to binary heaven. 🙁

    You will need to rerun the query.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: SQL Server 2005 SMS Pop-Up Mesasge

    It happens when SSMS is autosaving a file and your My Documents folder is remote or off-line.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: how do we caompare the table structure in 2 databases

    The best way to do this is through a tool. I believe Redgate has something that does this.

    If you just want a list of columns that are not common...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: SQL Server Version (T-SQL)

    river1 (2/25/2010)


    when i do this command:

    select

    serverproperty ('productversion')

    if the first digit returned by the string is 8 then 2000

    if the first digit returned by the string is 9 then 2005

    ..........

    select...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: SQL Server Version (T-SQL)

    What are you trying to do with the case statement?

    Converting oxygen into carbon dioxide, since 1955.
  • RE: SQL Server Version (T-SQL)

    select @@VERSION

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Very(?) large table, slow during/after inserts - should I archive?

    In general, a well-tuned large table shouldn't be a performance issue.

    One question I would have is do you really need 11 indexes on the table, given that fact that you...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: How to distinguish Master and Transaction tables

    I don't understand what you mean by 'master' and 'transactional' tables.

    There is a master database. Is this what you mean? A transactional table is any table that stores...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Use Transactional Replication to build a data warehouse

    You can setup a transactional replication that does not delete records. You can also use filters. Using these, you can replicate your adds and updates to your...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: Fast random row selector

    You could use randon row sampling in SSIS.

    Converting oxygen into carbon dioxide, since 1955.
  • RE: How to distinguish Master and Transaction tables

    Not really sure what you're asking here. Are you wanting to know parent to child relationships?

    Without a diagram, you can't really tell at a glance, but you could trace...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: FizzBuzz

    Sean-752587 (2/22/2010)


    WayneS (2/22/2010)


    Sean-752587 (2/22/2010)


    Hi jcrawf02

    How would you change it to avoid the cast?

    like this... you don't need to cast ROW_NUMBER to an int... it already is

    select top 100

    case

    when...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: FizzBuzz

    CirquedeSQLeil (2/22/2010)


    GSquared (2/22/2010)


    Just to annoy Jeff, here's my "ultimate version":

    SET NOCOUNT ON;

    DECLARE @Table1 TABLE (

    ID int IDENTITY PRIMARY KEY,

    Number int);

    DECLARE @Number INT;

    SELECT @Number = 1;

    WHILE @Number <= 100

    BEGIN

    INSERT INTO @Table1...

    Converting oxygen into carbon dioxide, since 1955.
  • RE: FizzBuzz

    Steve Jones - Editor (2/22/2010)


    Steve Cullen (2/22/2010)


    Wouldn't this be faster?

    Want to test with 10mm rows and let us know?

    Too lazy 😛

    Converting oxygen into carbon dioxide, since 1955.

Viewing 15 posts - 211 through 225 (of 272 total)