Viewing 15 posts - 6,466 through 6,480 (of 7,429 total)
Only if you use dynamic sql or seperate each item to be used.
Ex.
DECLARE @SQLStr VARCHAR(400)
SET @SQLStr = 'SELECT * FROM table WHERE field IN(' + @param + ')'
EXEC (@SQLStr)
"Don't roll...
April 9, 2002 at 3:06 pm
Also in the trace what EVENTS are you choosing. Looks like the build events. Use the completed instead for TSQL and SP items.
"Don't roll your eyes at me. I will...
April 9, 2002 at 10:57 am
Yes you can use bcp to export and then import on the remote server as long as you have a SQL Login or you move the file to the other...
April 9, 2002 at 10:55 am
Well I will conceed that this information looks more correct than what I have learned. I am coming from a VC background not worried about the DBA aspect and have...
April 9, 2002 at 10:49 am
I do regular backups of my production server, and this happens there once in a blue moon. I believe something was locking the data it was trying to access then...
April 9, 2002 at 10:38 am
This should do the trick. Also does not show restores where a database was restored and later a different database was restored over it, only shows the last restore to...
April 9, 2002 at 9:54 am
Try this, works great for me (note: only goes to billions at this point, but easy enough to expand). May work even better as a function in 2000.
/* You will...
April 9, 2002 at 7:18 am
I get the sometimes and have to shut down the server to correct.
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)
April 9, 2002 at 6:55 am
Beyond using model for future database building to have the same files and structure, the answer is no, not without an application to do it. Databases are treated as individual...
April 9, 2002 at 5:31 am
quote:
When I do same by creating a package at sql server it works fine.
If you...
April 9, 2002 at 5:27 am
Have you recently changed anything about the server (name, ip address, segment, nic, etc.), Also have you checked the nic to make sure it isn't going bad on you. Also...
April 9, 2002 at 5:16 am
You can try the following method, works fine.
CREATE TABLE #tempTbl (
[idx] [int] IDENTITY (1,1) NOT NULL,
[val] [varchar] (8000) NULL
)
/*
/T ...
April 9, 2002 at 5:04 am
Ok first I am not using multiprotocol and have TCP/IP defined at my clients.
Any connections made to any server will always interogate port 135, the OS is doing a check...
April 8, 2002 at 7:56 pm
Try this.
CREATE TRIGGER UrTrName ON [dbo].[tblName]
FOR INSERT
AS
DECLARE @LogID Int
DECLARE @Profile Int
DECLARE @Note varchar(800)
SET NOCOUNT ON
--look up all affected SDG fro the profile
SELECT @LogID = LogID, @Profile = Profile, @Note...
April 8, 2002 at 3:58 pm
You have a record with a Len(CityState) Less than 2 and is returning a negative number. Try this
Update SWBTPB_format Set CityState = CASE WHEN Len(CityState) < 3 Then CityState
ELSE Left(CityState,...
April 8, 2002 at 3:52 pm
Viewing 15 posts - 6,466 through 6,480 (of 7,429 total)