Viewing 15 posts - 121 through 135 (of 312 total)
gail,
we can also get the idea from the service manager
(Control Panel-->administrative tool), if i am not wrong.......
Cheers!
Sandy.
--
July 20, 2008 at 11:49 pm
Renu, good question..:)
rinu, since how long you are using Sql server?
--
July 20, 2008 at 11:43 pm
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...
--
July 20, 2008 at 11:40 pm
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...
--
July 20, 2008 at 10:56 pm
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.
--
July 17, 2008 at 11:09 pm
Shiv,
hope you got the solution...:)
Cheers!
Sandy.
--
July 17, 2008 at 10:39 pm
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...
--
July 17, 2008 at 3:33 am
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...
--
July 17, 2008 at 3:22 am
you can use this also...
select name as TableName from sysobjects
where id In (select id from syscolumns where name = 'b')
Cheers!
Sandy.
--
July 17, 2008 at 1:04 am
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...
--
July 17, 2008 at 12:47 am
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.
--
July 17, 2008 at 12:31 am
Abhijit,
1st table Index hints:
CREATE TABLE dbo.ParentTable (
ParentCol INT Primary Key,
Col2 INT,
Col3...
--
July 17, 2008 at 12:19 am
umailedit,
Don't add columns for different data. Think relationally like Gila.
Read this.
I have just gone through this links, and I think for the above DB design situation its not required....
--
July 16, 2008 at 11:00 pm
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.
--
July 16, 2008 at 5:46 am
hi,
why u need more sp, one sp is enough......:P
you can simple use this..
insert into #temp
exec test
Cheers!
Sandy.
--
July 16, 2008 at 3:36 am
Viewing 15 posts - 121 through 135 (of 312 total)