Viewing 15 posts - 271 through 285 (of 583 total)
Erin Ramsay (3/21/2013)
I hesitate to suggest it but the error is self-explanitory? Make sure you've got the table right.
That. Or the other part of the error about permissions. What type...
March 21, 2013 at 10:23 am
I am uncertain why you are still getting incorrect results. What is your server collation?
select serverproperty('collation')
March 15, 2013 at 11:00 am
if you don't change max memory setting , 2147483647(2 petabytes) is what it is set to out of the box.
if you leave it at this setting (not recommended) sql...
March 15, 2013 at 9:48 am
max memory is not limited to the total memory on the server and the highest you CAN set it would be the default of 2147483647. The sql server will just...
March 15, 2013 at 8:48 am
try adding the CODEPAGE=RAW argument. This will cause no data conversion to be performed.
declare @file sysname;
SET @file = 'C:\temp\test.txt'
SET nocount ON
CREATE TABLE #tempfile (Column1 varchar(max))
EXEC ('bulk INSERT #tempfile FROM "'+@file+'"...
March 15, 2013 at 8:34 am
is the user in sysadmin server role on the 2000 box or is the user dbo (not db_owner role) of database on the 2000 box?
March 5, 2013 at 12:45 pm
Is this a user defined stored proc or a system one?
the user might be dbo or sysadmin on the 2000 server or the proc might have execute permissions granted in...
March 5, 2013 at 12:16 pm
jancas08 (2/25/2013)
UPDATE [janinetestdata].[dbo].[EDTE] set ED_THREE = CORRECTED VALUE...
February 25, 2013 at 2:39 pm
you could use BCP as well.
BCP "select col1+','+col2+','+col3 from dbo.table" queryout c:\temp\file.csv -c -T
or if you have xp_cmdshell enabled you can run it from SSMS or sql agent(note: xp_cmdshell can...
February 22, 2013 at 7:54 am
SQL server 2008 R2 licensing is per processor, not per core SQL Server 2008 r2 Licensing guide. SQL Server 2012 is per core licensing.
As to you question about processor affinity....
February 21, 2013 at 8:36 am
I have come across this as well and it seems that the sp_statement_started and sp_statement_completed do not return individual statements within a stored proc. As Lynn suggested, it is in...
February 20, 2013 at 1:20 pm
try taking the single quotes away from around your parameters
CREATE Procedure [dbo].[SetDefaultDatabase]
@LoginString NVARCHAR(50),
@DatabaseString NVARCHAR(50)
As
Begin
Set NoCount On
Exec sp_defaultdb @loginame=@LoginString, @defdb=@DatabaseString
End
GO
February 20, 2013 at 12:53 pm
Try running the DTexec command in the command prompt but open the command prompt in the context of the SQL server Service account. On windows 2003/xp you can right-click on...
January 2, 2013 at 11:29 am
does the dtexec command work if you manually execute it in command prompt? taking xp_cmdshell out of the equation.
also will this create a file
exec xp_cmdshell 'dir \\server\Folder1\Folder2 > \\server\Folder1\Folder2\test.txt'
January 2, 2013 at 11:14 am
What are the results if you do a dir on the folder with xp_cmdshell
exec xp_cmdshell 'dir \\server\Folder1\Folder2'
January 2, 2013 at 11:07 am
Viewing 15 posts - 271 through 285 (of 583 total)