Forum Replies Created

Viewing 15 posts - 166 through 180 (of 183 total)

  • RE: Blank Data

    Where Field = '' returns all rows that have empty string.

    Where Field <> '' Returns all rows that are not empty strings.

    Where Field != '' same as above.

    Where Field...

  • RE: String manipulation problem

    Agreed.. I like his solution best. But wanted to show that there are different ways to do it depending on what you need. Good luck.

  • RE: SQL Server 2005 and CA ERwin Data Modeler

    I have used ErWin and its a decent tool. But I have had issues with its abilities to successfully reverse engineer nad make database changes. In general I...

  • RE: network connectivity

    There are numerous possible causes for this issue, you need to start eliminating specific items. Here are some things to check.

    Check that all services are running.

    Check event...

  • RE: String manipulation problem

    Alternate method (lots of different ways)

    DECLARE @String AS VARCHAR(MAX)

    SET @String = 'ABC Company, The'

    SELECT @String [Original],

    RIGHT(@String, len(@String) - charindex(', The', @string) - 1) + space(1) + LEFT(@String, charindex(', The', @string)...

  • RE: One table with "TypeID" column or multiple tables.....?

    As stated already, you could consider the attribute/value method. I have used the EAV style model before for this type of issue and entire systems. I would say...

  • RE: Server Side Trace to a table NOT file - possible?

    I have never been able to figure this out, so I am interested in knowing as well, as I have always had to put it to disk. So I...

  • RE: Average Across Columns per Row

    Not sure how elegant of a solution you are looking for....

    But if you have the values already, just use simple math.

    SELECT rating1, rating2, ((rating1 + rating2)/2) as [total]

    FROM sometable.

    If you...

  • RE: ISNULL question

    My experience has been that the format of (column = '' or column is null) works better than the isnull(column, '') = '' method. I am not sure of...

  • RE: Need DR Strategy Design Help

    Phillip,

    I think I will need to talk to the SAN provider and see what options they have as they are probably a great source. I was looking at other...

  • RE: How do you Update a Field in an SQL table using Data from Excel

    I would agree that creating an SSIS package to import the excel and using that imported table as the source is probably the best option. A less secure...

  • RE: SELECT rows that are not locked?

    Why are you specifically locking the records? That's typically a bad idea unless you can't adress your issue in another manner. Why not put your records into a...

  • RE: Ho i see XML data OUT PUT in SQL server 2005

    Explain what you mean by graphical output?

    Also need to know how is the data stored? As string text, as binary, as xml data type?

    Have you looked at...

  • RE: SQL Server SSRS

    Agreed. You will need to look into Amazon and other sources for books. Also spend time with BOL and MSDN. Each of those topics is an area...

  • RE: When adding a table I get a new DB also.

    The attach command is a way to attach data and log files to a sql server. So you are basically telling it to attach a new database. Attach...

Viewing 15 posts - 166 through 180 (of 183 total)