Forum Replies Created

Viewing 15 posts - 121 through 135 (of 312 total)

  • RE: SQL Server Processes

    gail,

    we can also get the idea from the service manager

    (Control Panel-->administrative tool), if i am not wrong.......

    Cheers!

    Sandy.

  • RE: SQL Server Processes

    Renu, good question..:)

    rinu, since how long you are using Sql server?

  • RE: performance impact of "Try...Catch"?

    before using it just go through the Try-Catch Concepts in Sql Server 2005, because it has some limitation, I personally prefer to use custom error handling method in SQL Server...

  • RE: Problem with a Dynamic Stored Procedure

    Hi Lester Vincent,

    Its very simple..

    After Executing the stored proc by below parameter:

    Exec proc_GetRowCount_Dynamic 'Temp', 'status' , 'status = 1'

    your temp query will be like this:

    SELECT COUNT(status) FROM Temp WHERE status...

  • RE: error getting data from excel

    Shiv,

    please correct this query:

    correct query:

    SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',

    'Excel 8.0;HDR=Yes;IMEX=2;Database=C:\test.xls;',

    'SELECT * FROM [Sheet1$]')

    you missed the "$" symbol...after Sheet1..:)

    Cheers!

    Sandy.

  • RE: error getting data from excel

    Shiv,

    hope you got the solution...:)

    Cheers!

    Sandy.

  • RE: XML Column - Table Processing takes forever

    hi,

    yisaaacs

    ---------------------------------------------------------------------------------------------------

    I have a table that contains an XML column with a huge xml string in it.

    Problem is a normal 'select * from ' takes about 8mins to process.

    I writing a...

  • RE: SPIDs selection query

    rinu,

    Nice script...:),

    you can send your article to this forum.

    so if you have any new and different idea then you make it one article and post in this forum. So...

  • RE: searching for a column name

    you can use this also...

    select name as TableName from sysobjects

    where id In (select id from syscolumns where name = 'b')

    Cheers!

    Sandy.

  • RE: DB Design ideas

    Gila

    ------------------------------------------------------------------------------------------

    I had that exact situation a few months back. A table that the system architect designed had 5 different models in it (each in a different column). I suggested that...

  • RE: error getting data from excel

    Shiv,

    I think, you have to check your Excel sheet.

    I mean to say 'Sheet1' is present or not..

    or it present in different name, then specified it in your query..

    Cheers!

    Sandy.

  • RE: Index strcture

    Abhijit,

    1st table Index hints:

    CREATE TABLE dbo.ParentTable (

    ParentCol INT Primary Key,

    Col2 INT,

    Col3...

  • RE: DB Design ideas

    umailedit,

    Don't add columns for different data. Think relationally like Gila.

    Read this.

    http://allenbrowne.com/casu-23.html

    I have just gone through this links, and I think for the above DB design situation its not required....

  • RE: Use of identity columns in foreign key references

    Yes, you can use it, but some cases it may raise issue in future..

    I can say, Its purely depends on the application requirements..

    Cheers!

    Sandy.

  • RE: to get the resultset of sub sp and use it in main sp's

    hi,

    why u need more sp, one sp is enough......:P

    you can simple use this..

    insert into #temp

    exec test

    Cheers!

    Sandy.

Viewing 15 posts - 121 through 135 (of 312 total)