Forum Replies Created

Viewing 15 posts - 901 through 915 (of 1,048 total)

  • RE: better way to rewrite this code

    well looks like this might benefit from a where clause.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: To Move The Entire Table Structure

    The structure of the table is described in the system tables (sysobjects, syscolumns, sysindexes etc.) you can roll your own tsql to extract the information into "create table..." statements, or...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Table size does not add up

    By doing what you did, basically.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: change my server name with following commands but this worked half way only

    you should use: sp_addserver 'SQLEXPRESS', 'local'

    (drop the first one you added .. without the 'local')

    then bounce the service and see what happens.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Table size does not add up

    Reserved Space is part of the table allocation. This is unused space cause by fragmentation (i.e page splits) and extra growth allocation.

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Unrecoverable data purge?

    writing NULLs won't do it... you'd have to fill up each column with different data and even that won't insure that bits and pieces of the original data won't remain...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Help with remote query

    Create your tables using real table names, not tempdb names. I would create them in the current DB or another staging DB specic to this purpose.

    If you must use tempdb,...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Help needed on SQL Server 2008 Linked Server issue

    I would suggest altering the text column on your new 2008 server to be nvarchar(max). Text will no longer be supported beyond version 10 anyway so you may as well...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Bulk Insert getting failed

    That error is fairly explanatory... the user does not have permission to use the bulk insert statement. Are you sure the use is the one attempting to execute the statement?...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: How do I downgrade from SQL 2008 Std to 2005 Std?

    You could set up replication from the 2008 server to the 2005 server. Once everything is in sync, cut over the 2005 server. That should be able to be done...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Data analysis using SQL Server

    Its just the genesis of an idea... to generate a table having columns startRowNum and endRowNum based on modulo-350.

    It may be better to create a temp table and use identity()...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Data analysis using SQL Server

    actually, you are probably right... my brain was working in a different direction. However I think you could use the modulo 350 idea to generate a virtual table of...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Data analysis using SQL Server

    given that RowNumber is an interger, why couldn't you simply do it this way:

    select RowNumber/350 as ID, avg(close) as average, max(close) as maximum

    from your_table

    where RowNumber between 350 and 100000

    group...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Transaction Question

    The question(s) you are asking cannot be answered properly without looking at the system design or an overall document describing the functional requirements of the system.

    One can't even be sure...

    The probability of survival is inversely proportional to the angle of arrival.

  • RE: Access SQL 2008 Linked Server without specifying default Database Name

    The 'default' database for a linked server connection would depend upon the connection credentials for the linked server.

    The probability of survival is inversely proportional to the angle of arrival.

Viewing 15 posts - 901 through 915 (of 1,048 total)