Forum Replies Created

Viewing 15 posts - 48,961 through 48,975 (of 49,566 total)

  • RE: Drop Table

    Because drop table is a logged operation and you are reqesting a rollback ie undo everything up to where the transaction began.

    By the way, your code shouldn't even run. You...

  • RE: Select, Update , Insert on single table SQLServer2005

    Can you post the code of the stored procedures and the table structure please

  • RE: How to determine concurrent user ?

    Yes, it's one of the new SQL 2005 DM views. Since this is the SQL 2005 forum, I did the 2005 solution.

    You can do the same thing with sysprocesses in...

  • RE: How to determine concurrent user ?

    Again, 5 users (5 different user names) or 5 connections? Is a single user allowed to make multiple connections to the database, and if so, do you count each of them,...

  • RE: How to determine concurrent user ?

    How many users, or how many connections?

    For number of connections,

    SELECT

    count(*) FROM sys.dm_exec_connections

  • RE: Filtering bad data on NVARCHAR

    Yeah, that will work better. Thanks. I overlooked the negating of conditions when I read up on LIKE

  • RE: Syntax error converting datetime from character string.

    If you define a data type as varchar without specifying a length, you get a varchar of length 1, hence all that you have in your variables is '1'. It's...

  • RE: Filtering bad data on NVARCHAR

    IsNumeric will work, but it will allow through some character data

    SELECT

    IsNumeric ('125D256')

  • RE: Update Query - against 2 databases

    Nope, sorry. You're going to have to get used to typing.

    You can get management studio/enterprise manager to generate an update statement for you that at least has the full list...

  • RE: Best Way For Primary Key

    Make the column an identity. Let SQL worry about the next number.

    If you do increments yourself, unless you're very careful with transactions, you could end up with duplicate values (or...

  • RE: Upgrade Issue

    See if you can get hold of the SQL Server 2005 upgrade adviser. It's probably available for download from MS.

    With the testing I'm doing for upgrades, it's not so much...

  • RE: Isnull causes query plan to do strange things.

    What does the execution plan look like with the isnull and without it?

    If it's a stored procedure, it may be getting a bad execution plan. If the optimiser compiles for...

  • RE: I/O Separation

    My main server has 2 heavily utilised large databases and a few smaller, less used ones.

    We split the biggest database into 3 data files and put each one on a...

  • RE: Table Update Problem

    Is there any trigger on the Address table? Are any errors been raised?

    Are you using a cursor for the Address update as well? If so, I may have an idea...

  • RE: Sql Query

    Could you please start your own thread for this. You'll get more replies and reads than if you hijack another.

Viewing 15 posts - 48,961 through 48,975 (of 49,566 total)