Viewing 15 posts - 346 through 360 (of 596 total)
To connect with a standard SQL login, you could try something like the following (of course, change the user id, password, server, and database):
Dim strLoginID
Dim strPassword
Dim strConnect
Dim objConn
September 14, 2005 at 12:54 pm
Since the tables involved in your query are structurally identical in every database, you could name your stored procedure sp_GenSelect and create it in the master database. The SP can then...
September 14, 2005 at 12:39 pm
It doesn't cause any problems other than a possible invalid or null value for the global variable @@servername.
What do you get when you execute
SELECT @@ServerName
Of course, you must stop and...
September 6, 2005 at 5:59 am
To use UPDATETEXT to append text, use the following template:
DECLARE @tptr varbinary(16)
DECLARE @textToAppend nvarchar(4000)
SET @textToAppend = N'your text'
SELECT @tPtr = TEXTPTR(columnName)
FROM...
September 2, 2005 at 7:51 am
The BULK INSERT statement will implicitly convert varchar to nvarchar if necessary.
The problem is you're missing a single quote after the filename.
Change this:
set @cad='BULK INSERT webmisco.dbo.wr_primero FROM ''d:\transferencia$\web\reports\'+@Fichero+'...
August 30, 2005 at 6:10 am
Since you didn't post the DDL for the view, we can't tell exactly what the problem is. Open SQL Server Books Online, select the Index tab, and search for UPDATE,...
August 30, 2005 at 5:58 am
I'd take Remi's advice and drop the server, then add it back in:
EXEC sp_dropserver 'yourServerName'
EXEC sp_addserver 'yourServerName', 'local'
Stop SQL Server.
Restart SQL Server.
Also, try either or both of these:
August 26, 2005 at 12:11 pm
You could download the WinZip 9 command-line utility from here:
http://www.winzip.com/downcl.htm
After installing it, execute WZUNZIP.EXE using xp_cmdshell
August 25, 2005 at 7:29 am
If activity.description is of type text, then you can't use syntax like
set description = description + '<br><img src=''..\artwork\checkon.jpg''>'
Try the following example regarding the...
August 23, 2005 at 12:47 pm
After you kill a process in EM (..| Current Activity | Process Info ), the view is not updated. You need to right click on Current Activity and select Refresh....
August 16, 2005 at 9:38 am
Jasmina,
The only way to change the value of a computed column is to change the value in one or more of the columns used to create the computed column expression.
For...
August 16, 2005 at 9:24 am
See if this helps:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=92&messageid=115315#bm116214
August 9, 2005 at 5:58 am
Try this example:
CREATE TABLE #temp
(
id int IDENTITY(1,1)
, mydata varchar(20)
)
DECLARE @seed int
SET @seed = 12345
DBCC CHECKIDENT ('#temp', RESEED , @seed) WITH NO_INFOMSGS
INSERT #temp (mydata) VALUES ('ABC')
SELECT * FROM #temp
DROP...
July 29, 2005 at 7:45 am
Are you using the same IP addresses? Could be a DNS problem. Can you have the domain administrator re-register the server? Two years ago, I had to rename the SQL...
July 21, 2005 at 7:37 am
When you say full-text search is "not working", exactly what do you mean? Can you create catalogs? Can you enable FTS for a database? What errors do you get, if...
July 1, 2005 at 11:06 am
Viewing 15 posts - 346 through 360 (of 596 total)