Viewing 15 posts - 31 through 45 (of 132 total)
Hi....
create proc Top_NthSal
@TOP_ID int
AS
create table #test(Top_ID int IDENTITY (1, 1) NOT NULL , ID int ,Salary Int)
insert into #test (ID,salary) select * from salary_table order by salary desc
if exists...
December 15, 2005 at 4:37 am
HI...
Is ur two SPs are belonging to same DB where u trying to call them together if no then u have to qualify (for calling purpose) them with DB name...
December 15, 2005 at 2:51 am
Hi!!!
I just modify Karl Grambow little bit..........
CREATE proc Top_NthSal
@TOP_ID int
as
declare @cmd as varchar(4000)
create table #test(Top_ID int IDENTITY (1, 1) NOT NULL , ID int ,Salary Int)
set @cmd = 'insert...
December 15, 2005 at 2:29 am
Hi!!!
Chk for this....
declare @id as int
if EXISTS (SELECT 1 FROM TABLEb WHERE ID = @id )
BEGIN
select a.id , b.id,case when a.id > 1 then 100 else 200 end
from tableA a...
December 14, 2005 at 5:12 am
Hi...
How that will fail because of IDENTITY property.......
December 12, 2005 at 11:32 pm
Hi..
May be check the property for SQL Server Agent wheather it is checked for Autostart..u find that in SQL Server Property>>>Right Click
December 12, 2005 at 10:27 pm
.....
declare @id varchar(400)
set @id = (select categoryid from categories where categoryid = 1)
select (@id) as id ,description from categories where categoryid = 1
December 12, 2005 at 4:05 am
Hi..
U can use this to check the currently available space in the current DB
SP_SPACEUSED
December 5, 2005 at 10:14 pm
Hi!
Actually I m here as just maintenance of DB...... main working of DB is going on client side...yesterday what i observed disk space was just 6 or 7 GB (E:...
December 2, 2005 at 6:29 am
Hey!!
Just go through these likns that will help u bit
http://www.informit.com/guides/content.asp?g=sqlserver&SeqNum=41
http://www.databasejournal.com/features/mssql/article.php/10894_3514731_3
December 1, 2005 at 10:43 pm
Hi!!
Just leave all the things..go to EM there u need to go to all task then attach db there u will ask for mdf file location...with out ldf file u...
December 1, 2005 at 3:39 am
Hey!!
I dnot how but it is working now fine...I just added new SQL-SERVER to my server group and its EM I opened then tables and then all rows..it opened as...
November 30, 2005 at 11:29 pm
Hmmm....
I got error message like...
The log file for database 'Employee' is full.
Back up the transaction log for the database to free up some...
November 30, 2005 at 9:28 pm
Thanks for ur kindly help Rudy!!!
November 28, 2005 at 9:18 pm
I have database of 5MB......is there any king of package setup for MSDE 2000????through which i can install my DB???
November 26, 2005 at 4:52 am
Viewing 15 posts - 31 through 45 (of 132 total)