Viewing 15 posts - 1 through 15 (of 21 total)
The active users are mixed in with the inactive. Also the table is keyed on the Identity field.
Are there any articles that provide information on the working of SQL...
July 28, 2003 at 12:04 pm
Here's what I did.
I pulled up the memo field in the select statement using the left function. It worked. for example:
'SELECT Left(abc, 99999) as ABC, Key
FROM tblABC'
June 17, 2003 at 2:54 pm
Needed to change the password from the Services Undet Admin Tools and things are bright and sunny again.
Thanx anyways.
November 18, 2002 at 10:03 am
The network client utility is enabled. It gives me a 1069 error when i try to register.
November 18, 2002 at 9:54 am
Both servers are named instances of SQL Server and are on the same box.
This is the SPROC.
CREATE PROCEDURE usp_Test
AS
SELECT *
FROM OPENQUERY (LINKED_SERVER_NAME, 'SELECT TOP 10 * FROM tblTemp')
July 17, 2002 at 8:36 am
I think that service is running as it shows up in lower right corner os system tray.
even profiler is not able to connect. its a named instance on default port.
...
July 11, 2002 at 6:31 pm
Currently I am using SQLXML connections to the Database. I do not have a ConnectionString but I connect using Virtual Directory Support in SQL Server. I have completed versioning ...
June 4, 2002 at 2:57 pm
i have a set of SPROCS and VIEWS. the sprocs and views currently access data in db1 (say ver1.0) from db2. The data in db1 is not version specific. I...
June 3, 2002 at 11:53 am
At any given point of time I am looking at 2 versions of data. Moreover i can't have the data in the same database since data / sprocs in the...
June 3, 2002 at 8:30 am
Declare @intAcctID
Insert into tablename(...) values (...)
SELECT @intAcctID = @@IDENTITY
SELECT intAcctID
FROM tblAccount
WHERE intAcctID = @intAccountID
FOR XML AUTO, ELEMENTS
I need this since we're using templates to call SP's.
May 1, 2002 at 12:22 pm
intID is Fk and intAcctID is the pk for this insert. sorry abt the ambiguity 🙂
May 1, 2002 at 11:15 am
CREATE PROCEDURE usp_BankAccountInsert
@intID numeric, @vchTitle2 varchar(50), @vchNumber varchar(25), @vchName varchar(100)
AS
INSERT INTO tblBankAccount (intID, vchTitle2, vchNumber, intID)
VALUES (@intID, @vchTitle2, @vchNumber, @vchName)
SELECT @intAcctID = @@IDENTITY
FOR XML AUTO
GO
May 1, 2002 at 10:21 am
CREATE TRIGGER TR_AuditDetail ON dbo.tblDetail
FOR UPDATE
AS
DECLARE @OldValue VARCHAR(255)
DECLARE @NewValue VARCHAR(255)
DECLARE @User VARCHAR(20)
DECLARE @OldValueMoney MONEY
DECLARE @NewValueMoney MONEY
DECLARE @dteOldValue DATETIME
DECLARE @dteNewValue DATETIME
DECLARE @intOldValue NUMERIC
DECLARE @intNewValue NUMERIC
DECLARE @key INT
DECLARE @FieldName VARCHAR(50)
SELECT...
April 13, 2002 at 3:12 pm
CREATE TABLE #tempTbl (
[recid] [int] IDENTITY (1,1) NOT NULL,
[id] [int] NOT NULL,
[name] [varchar] (1000) NOT NULL,
[codedescription] [varchar] (50) NOT NULL,
[date] [smalldatetime] NOT NULL,
[number] [int] NOT NULL
)
INSERT INTO #tempTbl ([id], [name],...
April 9, 2002 at 5:59 pm
Viewing 15 posts - 1 through 15 (of 21 total)