Forum Replies Created

Viewing 15 posts - 301 through 315 (of 334 total)

  • RE: Drop Column

    You'll have to drop the constraint also. To figure out what the constraint is, I usually script out the table. The constraint could also be the statistics.

    Alter table...

  • RE: Migration : from 7.0 to 2000

    You can't have to servers (windows) with the same names, so hence unless your using named instances of Sql,(2 part name) you can not have 2 Sql servers with the...

  • RE: Returns 0 don't know why

    It thinks that the numbers are int's to start with. Try to do:

    select cast((30.0/364.0) as dec(20,20))

    That will return the value.

    Tom Goltl

  • RE: Concurrent Connections

    How is the Server licensed??

    Tom Goltl

  • RE: Auditing failed logins

    Another thing with the application log. You can set the max log file size and overwrite option, by right clicking on the appropriate log and setting those options. ...

  • RE: Table Size issue

    You can issue a couple different commands to make sure you are getting correct information.

    dbcc updateusage

    or

    sp_spaceused 'table_name','true'

    the true in the second command indicates you want to update usage.

    Hope...

  • RE: xp_sendmail attachment open failure

    Could you be truncating some of the data from @MyAttachment???

    Also try to verify that sql has access to the file by executing:

    master..xp_getfiledetails 'Your file path here'

    Just to check that your...

  • RE: Stored Procedure organization

    I'm not sure I understand your question completely but here goes.

    You can place a generic stored procedure in the master database with an 'sp' prefix and you can...

  • RE: How many users logged on to my database

    Here is a stored procedure that I have. It tells me the current connections in a database. You can either give it the name of the database you...

  • RE: Max record limit for stored procedures?

    You could turn this into a dts package. That would simplify the administration of the stored procedure. And to boot, I'm pretty sure you can export the results...

  • RE: 3 million and counting!

    I agree with Steve. Put a batch size on this. Also for this load I would make sure the table does not have a PK or any indexes...

  • RE: Similar queries - different execution plans

    In the first query the plan is doing a clustered index seek (as per the index hint). Very optimal. The second query is doing a table scan. ...

  • RE: Copy logins and passwords from SQL7 to SQL2000

    Thanks for the information. Although to late to use in my case.

    Tom

  • RE: Copy logins and passwords from SQL7 to SQL2000

    I tried this and it worked for some of my users and not others. I discovered the problem to be that 2000 supports 7.0 encryption but some of my...

  • RE: Problem with hung up Maintenance job

    You might try shutting down the sql agent. I thnik that is the service that the maintenance plans run under.

    Just a thought.

    Tom

Viewing 15 posts - 301 through 315 (of 334 total)