Forum Replies Created

Viewing 15 posts - 2,386 through 2,400 (of 2,435 total)

  • RE: SQL Server Migration and SAN

    I can speak for the databases. Use detach, copy the files then attach. There are a few special considerations when doing this for the master, model, msdb and tempdb databases....

  • RE: Backup up databases on an Instance

    The easy answer is daily (master, model, msdb in one maintenance plan) keeping 3 days online (our site standard). To be more precise (minimalist) for those tight on disk space:

    model...

  • RE: clustered db size 8gb problems with timeouts?

    Right now we're looking at an entire forrest. We need to get to a grove of trees in the forrest. What indexes are on the tables ? Are there primary...

  • RE: SQL Server Lock

    I'd be interested as well.

  • RE: Capturing file name and date/time of it.

    The code snippet above that uses xp_cmdshell is a common tool. I've used it for years for a variety of things. Just a couple of things to remember about it....

  • RE: String concatentation in bcp

    This is not really an error, more of an informational message. Your stored procedure was created. The message you refer to just means that the stored procedure sp_depends (which shows you dependencies...

  • RE: Database Location query

    Since you are in the process of 'standardizing' you probably want the same information for all databases on a given server. sysfiles exists in all databases and contains the file...

  • RE: Clean up indexes.

    Just to find out when things were created maybe something like:

     

    select name, crdate from sysobjects

    where name like 'IX_%ID%'

    order by crdate desc

     

    Not pretty or slick code. Just maybe what you...

  • RE: How can I tell if an "image" data type column contains a value?

    Select count(*) from TABLENAME where IMAGECOLUMNNAME IS Null

  • RE: multiset??

    The front end might not always be responsible ... here's a workaround, by no means elegant ...

    create table name_info (

     lname varchar(16) null,

     fname varchar(16) null,

     mname varchar(16) null,

    )

    go

    insert into name_info values ('first','middle','last')

    go

    select...

  • RE: someone knows where is the information of the global tmep tables

    Just a minor clarification on 'global' temp tables. If it is truly global (i.e ## as stated) and not in a transaction, anyone may drop it. Just take query analyzer...

  • RE: How to select from database passed as param without dynamic sql?

    If it's a stored procedure and all activites are in one database only, then try removing 3 part (dbname.dbo.table) names from the procedure and using one part names (table) then...

  • RE: How can I tell if an "image" data type column contains a value?

    If the table allows NULL for the image then:

    drop table t

    go

    create table t (c1 int, i1 image null)

    go

    insert into t values (1,'111')

    go

    insert into t values (2,NULL)

    go

    select * from t

    go

    select c1...

  • RE: Parallel BCP

    How are you executing these scripts ? e.g. each in a separate DOS window ? I've done this in the past and on large tables I've noticed that script 1-10...

  • RE: Service started then stopped....?

    Have you looked in the SQL Server errorlog file ? (C:\Program Files\Microsoft SQL Server\MSSQL\LOG\errorlog --> default installatino, default instance). The System and Application event logs are next. Then, if you...

Viewing 15 posts - 2,386 through 2,400 (of 2,435 total)