Forum Replies Created

Viewing 15 posts - 16 through 30 (of 30 total)

  • RE: function returns db name

    I would recommend to make one file with all scripts and then do a search and replace otherwise you will have to convert all statements to string and Use...

  • RE: temp table problems

    You have to use a static table not a temp table if you want to use EXECUTE()

    Execute func does not see temporary table neither local or global.

    And I do not...

  • RE: temp table problems

    Can you post complete CREATE PROC Scipt

    nor just the table name.

    quote:


    Here it is. The name of the temp table is...

  • RE: SQL2000 Logs not truncating

    You can use

    BACKUP LOG [dbname] WITH TRUNCATE_ONLY

    thou i would reccomend to backup the log too, in case you need to restore your data in the middle of the day.

  • RE: temp table problems

    Can you post your Script it's kind of hard to tell without seeing it.

    At least for this type of error.

    quote:


    I have a...

  • RE: empty log file

    BACKUP LOG [dbname] WITH TRUNCATE_ONLY

    I would reccomend to actually back up the file before you truncate it.

    quote:


    Hi guys!

    Can you help me to...

  • RE: Sort columns in table

    If you just want to sort the column order then use Antares686' example, if you want to rewite the table structure.

    You have to move everything into a temp table...

  • RE: What is this error ??

    Change your SQL Server Agent service to use NT Domain account.

    quote:


    SQL Server agent currently uses the system account, which caouses...

  • RE: Dynamic SQL and the FROM Clause

    I appologise made a typo, the only time you would use double colon is when you are calling a system table function like this.

    select * from ::fn_helpcollations()

    May 15, 2002 at 8:23 am

    #429190

  • RE: collation setting change

    Here is an MSDN How to Article

    How to rebuild the master database (Rebuild Master utility)

    To rebuild the master database

    Shutdown Microsoft® SQL Server™ 2000, and then run Rebuildm.exe. This...

  • RE: Pulling SQL 2000 upgrade OUT!!

    LOL, good one.

    backup your databases.

    Uninstall your sql server period.

    Install 7.0, and restore the databases.

    I have never tried doing it, test on an alternate machine if you have one.

    Do it at...

  • RE: Dynamic SQL and the FROM Clause

    If you are using SQL Server 2000

    You could make your life simpler by writing a function that builds an SQL Statement for you, executes it and returns a table...

  • RE: How do I change a table from Read Only?

    You are probably tyring to insert into Identity Column or some columns have or some columns do not allow null values.

    If you have a timestamp column in the table...

  • RE: Table not being dropped when proc stopped

    one # sign is local temp table for procedure.

    two # pound signs is global for connection

    three # signs is global for all connections

    i think only SQL 2000 supports the last...

  • RE: Recordset from a very large table

    You can do it this way.

    Select Top 100

    PolicyID

    From PolicyTable

    Order BY PolicyID

    When you hit last record in the RS USe The id in where clause for the same SQL...

Viewing 15 posts - 16 through 30 (of 30 total)