Forum Replies Created

Viewing 13 posts - 31 through 43 (of 43 total)

  • RE: The Largest Database

    My best record are almost two billion of records with IMS(pharma sector).

  • RE: retrieving data from system stored procedures

    On the other hand, this works but not very perfectly...

    insert into testspaceused

     EXEC SP_MSFOREACHDB 'USE BDGENERAL; EXEC SP_SPACEUSED G03OFIC'

    testspaceused is the table above created...

  • RE: retrieving data from system stored procedures

    On the other hand, this works but not very perfectly...

    insert into testspaceused

     EXEC SP_MSFOREACHDB 'USE BDGENERAL; EXEC SP_SPACEUSED G03OFIC'

    testspaceused is the table above created...

  • RE: retrieving data from system stored procedures

    I've created this:

    CREATE TABLE TESTSPACEUSED (

     FI varchar (60),

     ROWS1 INT,

     rESERVED varchar(20),

     data varchar(20),

     index_size varchar(20),

     unused varchar(30)

    ) ON [PRIMARY]

    GO

    And then I tried this statement, obtaining unsuccessful results:

    SELECT *

    FROM TESTSPACEUSED inner join  (sp_spaceused...

  • RE: retrieving data from system stored procedures

    hi SqlBill,

    Unfortunately, that doesn't works. I am almost sure that might have any solution for that. Apparently BOL no says nothing about that.

    Think, think

  • RE: A TRIGGER IS CHOKING UP THE TABLE?

     

    Sorry for that. Here you've got it:

    CREATE TABLE [dbo].[Via_Peticiones] (

     [CodPeticion] [char] (12) NOT NULL ,

     [Estado] [char] (1) NOT NULL ,

     [Dni] [char] (10) NOT NULL ,

     [Nombre] [varchar] (255) NULL ,

     [EMail] [varchar]...

  • RE: Collation question

    We had issues when developers were creating temporary tables and TEMPDB and that database own a different collation than source database, which causes a lot of errors.

    Finally, they decided...

  • RE: Ordering a string field with different lenghts

    that finally works properly:

      REVERSE(substring(REVERSE(DATASOURCE),1,charindex('\',REVERSE(DATASOURCE)) -1)) AS F

     

    Thanks to all for your comments.

  • RE: Ordering a string field with different lenghts

    Yeah, it was just that.

     

  • RE: Ordering a variable field.

    Thanks a lot for your comments Ian.

    All the best,

  • RE: Ordering a variable field.

    I work out, finally I've founded the answer to my issue usign REVERSE and CHARINDEX functions:

     REVERSE(substring(REVERSE(DATASOURCE),1,charindex('\',REVERSE(DATASOURCE)) -1))

  • RE: Now THIS is a Workstation

    It's unbelievable. As time goes by we have got less gadgets, machines all over our homes.. I am trying to convice my wife to have a big laptop for see...

  • RE: query question

    Could you please kindly to post DDL statements in order to have a very comprehensive view of such issue?

    Thanks

Viewing 13 posts - 31 through 43 (of 43 total)