Forum Replies Created

Viewing 15 posts - 106 through 120 (of 137 total)

  • RE: Taskpad view Fails ... Why?

    I'am having the same problem. Only solution I found is to change to an other view and change again to taskpad

     

  • RE: Create Linked Servers Dynamically

    you can find procedures on this site to crypt/decrypt strings. Of course, you still have to pass the key ( password ) to crypt/decrypt this as a parameter to the...

  • RE: Creating table in Tempdb

    Tables ( not the # or ## tables ) created in tempdb will exists till next restart of the server, as tempdb is rebuild from scratch at each start of...

  • RE: Create Linked Servers Dynamically

    You could store the login/password (encrypted)  in a table and let the procedure fetch this from that table. You could also store this in the registry and read it from...

  • RE: HTML Tags in Data -- I want to remove them

    Do you have a list of tags ?

  • RE: Dynamic Creation of a Temp Table Problem

    You can not use the temp table after the EXEC. This is because EXEC is run in a new "connection". You could try to create a 'global temporary...

  • RE: Is there any function to retrieve LastIndex.

     DATALENGTH returns the number of bytes, and not the number of characters ( this is not the same ) But Len returns...

  • RE: Is there any function to retrieve LastIndex.

    I saw the script "Function To Retrieve Last Index ". I do not understand why it is so complicated. THis script does the same :

    create function dbo.LastIndexOf

    (

     @strValue varchar(4000),

     @strChar varchar(50)

    )

    returns...

  • RE: unique column

    select CName,CADD,CScore

    from CustomerDetails

    where CName in ( Select CName From CustomerDetails group by CName having count(*) = 1)

  • RE: Question of the Day for 25 Mar 2004

    Me to, I wrote my own log shipping routines , and have a stand by server that I can use. I do not understand...

  • RE: Where does SQLServer stores ResultSet

    The rsultset is not stored. If you want the result in a table, you should do like this :

    create table #header

    (

    BackupName nvarchar(128),  -- Backup set name.

    BackupDescription  nvarchar(255), --...

  • RE: Instead of Trigger to handle dup keys

    Little error in your trigger. Please try this :

    Create trigger dbo.bkiTriggerTest_Instead

          on dbo.bkiTriggerTest

          INSTEAD OF INSERT

       AS

       set nocount on

       insert into dbo.bkiTriggerTestDups (i2.pkid, i2.dval1, i2.dval2)

         ...

  • RE: Question of the Day for 21 Mar 2004

    There's nothing wrong with it !

    I do create a lot of sp_ procedures in the master database, but to distinguish MS sp_ procedures and mine, I use the prefix sp__...

  • RE: Finding data for child entities

    Do you need something like this :

    if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Sales_All_Children]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)

    drop proc [dbo].[Sales_All_Children]

    GO

    CREATE PROCEDURE [dbo].[Sales_All_Children]

    (

     @EntityID varchar(30),

     @EntityTypeID int

    ) AS

    begin

     --Total sales...

  • RE: Multiple Replace Question

    To strip only the ending *, you could try this script :

    create table tsttable ( tstcol varchar(20) )

    go

    insert tsttable values ('ABC**')

    insert tsttable values ('ABC**D')

    insert tsttable values...

Viewing 15 posts - 106 through 120 (of 137 total)