Forum Replies Created

Viewing 15 posts - 751 through 765 (of 1,479 total)

  • RE: XML Source Problem

    The problem is that ampersand is a reserved symbol in XML. It is used as part of escape characters and if it is used as part of text...

  • RE: "Updated" keyword in trigger

    There is no updated view. You can work with inserted and deleted view or with the update() function. You can read about it in BOL (Books On Line...

  • RE: Need to get list of disable and enable triggers from server

    You can use the objectproperty function to check if the trigger is enabled. If you don’t mind getting it in few recordsets, you can also use the undocumented procedure...

  • RE: Paging

    In my opinion it is better to implement the paging in SQL Server. I don’t think that you’ll want the client to get 100000 records and then store them...

  • RE: moving packages to production

    You can use Google for that. Just go to the search engine and type the key words (for example deploy ssis package sql server 2005). You'll get...

  • RE: Cannot open user default database. Login failed.

    Change the user's default database to a database that exists on the server and is online.

    Adi

  • RE: Help on Insert Trigger

    In your code, you created one temporary table, but you are trying to get data from another 2 tables:

    --Here you create table that is called #TempTrigger

    select * into #TempTrigger from...

  • RE: Cannot Insert duplicate key row

    There is no need to use a cursor. You can use an update and insert statement directly on the tables. Here is a small demo that shows how...

  • RE: Help on Insert Trigger

    Can you show what you tried to do? It seems to me that you need to get the current maximum value that exists in the table with select max...

  • RE: Can not find the database

    Are you looking at the right place? I've had a case when someone told me that he can only see the database's files, but he can't see the database...

  • RE: Can not find the database

    Did you try this query?

    select name

    from master.sys.master_files

    where physical_name = 'RightFileWithFullPathHere'

    Adi

  • RE: sql validating constraint violation

    You can enable the check constraint with the check option. Check the script bellow that shows it:

    use tempdb

    go

    --creating the table with check constraint

    create table demo (i int...

  • RE: REPLACE Multiple Spaces with One

    Very nice solution and a great explanation for the solution.

    Adi

  • RE: Strip Out the First part of a string

    I hope that I understood what you want, but I have to admit that I’m not so sure. I understood that you want to get only the part of...

  • RE: Delete 30,000

    You can have a delete statement that is using top in it as Dave Ballantyne showed you. Then you can run it in a loop. Here is one...

Viewing 15 posts - 751 through 765 (of 1,479 total)