Viewing 15 posts - 556 through 570 (of 594 total)
try this:
USE master
DECLARE @dbname CHAR(20), @name VARCHAR(12), @sql NVARCHAR(4000)
DECLARE dbs CURSOR FOR
SELECT name FROM sysdatabases
OPEN dbs
FETCH NEXT FROM dbs INTO @dbname
WHILE @@FETCH_STATUS = 0 BEGIN
SELECT @name...
January 29, 2003 at 9:20 am
Just wanted to point a couple things out that you may want to look at before anything else regarding this procedure:
1) There is no error handling anywhere in the...
January 29, 2003 at 9:12 am
This may be a silly question, but if someone with an NT username matching USERB is attempting to access SQL Server through QA using NT Authentication, wouldn't you get the...
January 29, 2003 at 5:36 am
Please post the stored procedure in question to get a response. Include the table schema in question.
January 29, 2003 at 5:25 am
quote:
update dbo.zMasterset @RegNumber = RegistrationKey, RegistrationKey = RegistrationKey + 1
Antares,
Way cool! You...
January 29, 2003 at 5:16 am
quote:
There is no enforcement mechanism like you have in OO languages.
There are no mechanisms in...
January 27, 2003 at 11:50 am
What about:
DECLARE @ContractID INT
INSERT INTO manufacturerContract
VALUES
(
@manufacturer_id, @per_minute_percent, @rental_percent, @when_dt, @emp_claimed_id
)
SET @ContractID = @@IDENTITY
INSERT INTO manufacturerContractItem
VALUES (
@ContractID, rest...
January 27, 2003 at 11:35 am
why in the same statement? why not 2 insert statements?
January 27, 2003 at 11:11 am
quote:
1. ...sent where you got the syntax error...
already addressed. please read above...
January 27, 2003 at 8:22 am
Could you show some code or schema or something to get things started...
January 27, 2003 at 7:10 am
quote:
Thanks for the replies. Decided to lose the [Id] concept and use the more meaningful names like EmployeeId.
January 27, 2003 at 6:45 am
quote:
Is there a way to really tweak out a tables indexes for high speed lookups?Is there an Ideal approach to this situation?
January 27, 2003 at 6:30 am
quote:
How do I return multiple columns from a single row Select to be used in variables within some TSQL script?would be appreciated.
January 27, 2003 at 6:22 am
quote:
Tryselect x.Vessel,x.callid,sum(x.total_minutes) as total_minutes
into tempweek
from (select Siteid as Vessel,callid,sum(airtime) as total_minutes from oldbill02 with(index(siteid)) where callwhen >='12/31/2002' and substring(callnbr,5,3)<>'976' and siteid<>' '...
January 27, 2003 at 6:09 am
quote:
No one has responded to this topic yet. Even if you don't have a complete answer, the original poster will appreciate any...
January 24, 2003 at 1:09 pm
Viewing 15 posts - 556 through 570 (of 594 total)