Viewing 15 posts - 61 through 75 (of 89 total)
I tied from different machine now, i am getting the same problem now and i got this error message also
SQL Server connection broken. Want to retry.
Since its not working different...
December 4, 2008 at 2:06 am
No active open transactions
I dont have any open transaction.
Then it is not due to concurrent query issue.... but why it is showing that message.
as
The SQL Server has been...
December 3, 2008 at 11:59 pm
I am having the sysadmin privileges, ok can be a network problem. Just now i saw my logs an i got this message
The SQL Server has been optimized for 8...
December 3, 2008 at 11:44 pm
Using this command you can check how many transaction are currently open.
--This command gets you the spid of open transactions.
DBCC opentran
Check how many open transactions are there on the server.
December 3, 2008 at 11:13 pm
I can suggest you to search on the net or in sqlservercentral for store procedures. You will get lot of codes and sample. This will also help you to find...
December 3, 2008 at 1:35 am
CREATE PROCEDURE procname
@value varchar(50),
@value2 varchar(150)
as
INSERT INTO myTable ( )
SELECT COUNT(*)+1, @value, @value2 FROM myTable
The above code which was posted by Gail Shaw is...
December 3, 2008 at 1:23 am
Create procedure name
@value varchar(50),
@value2 varchar(150)
as
begin
declare @myValue int
--wrong statement
--Select @myValue = 'Select count(*)+1 from myTable'
Select @myValue = count(*)+1 from myTable
Insert into myTable values( @myValue, @value, @value2 )
end
Here is the correct...
December 3, 2008 at 12:06 am
I dont have much experience in Access DB.....
Since it is a Database.. it should have locking facilities.
What I can suggest you is that ... if you are generating...
December 2, 2008 at 11:12 am
Can you let me know the requirement... why you want to lock records.
You can use the sp : sp_getapplock to lock records
for more info visit the link :
December 2, 2008 at 5:40 am
I think you are looking for multiple tables and files..i.e. you want to import data from multiple files to multiple tables.
For I suggest you to use the dynamic sql and...
December 2, 2008 at 2:46 am
It is not only for master DB.. you can call that sp in any of the database.
Also you can use the shortcut ALT+F1 to view the table design.
You can...
December 2, 2008 at 12:50 am
Try this script
declare @TableVariable table(id int,[name] varchar(20))
declare @state varchar(200)
declare @TableVariable1 table(id int,[name] varchar(20))
...
December 2, 2008 at 12:17 am
Try this statement :
select issueid, userid, max(createddate) from #tab1 group by issueid, userid
December 1, 2008 at 11:12 pm
Yes Madhivanan is correct .. it will work fine.
December 1, 2008 at 5:21 am
Absolutely YES.. you need to use inner join if you want to insert values from different tables.
The result set which you will get in the select statement... same records will...
December 1, 2008 at 3:15 am
Viewing 15 posts - 61 through 75 (of 89 total)