Viewing 15 posts - 91 through 105 (of 13,429 total)
so there's two things here you have to check.
the D:\ drive here must be on the SQL server.
@file_attachment = 'D:\Test\results.txt',
if the drive is not on the server,...
November 1, 2019 at 9:10 pm
on most of my servers, the log files are on a completely different drive; it is more common on bigger installations to seperate the data to multiple drives.
so the mdf...
November 1, 2019 at 3:12 pm
Mike Vessey has the answer there. USERS don't have passwords (except in contained databases, there's always an edge case)
so you have to change the LOGIN that the USER in the...
November 1, 2019 at 2:28 pm
I have had some scripts like that error int he middle do that, and it was because my \\unc path was out of space. i could do the first few...
October 28, 2019 at 9:03 pm
you'll need to modify this query with your names:
EXEC sp_dropserver 'OldServerName'
EXEC sp_addserver 'NewServerName', 'local'
after that, there will be a difference in @@servername until you can stop...
October 23, 2019 at 6:59 pm
we store files in our databases and varbinary(max)
you would be adding an extra step to convert varbinary to base64/varchar(max). then if you need the file, you have to double convert...
October 23, 2019 at 5:20 pm
dang i missed that part.
that literally says bring it into someplace where you can use a flat file connection manager, since it is not supported yet.
sorry:
Azure Blob Source...
October 22, 2019 at 7:59 pm
in your flatfile connection manager, change the text qualifier to a double quote. it will remove the dbl quotes when it builds that path to the destination for clean data.
October 22, 2019 at 7:27 pm
one of the core caveats of the development life cycle is that the code is tested in dev, and is promoted UNCHANGED to the next layer for acceptance and testing.
if...
October 21, 2019 at 7:20 pm
you can check teh procedure cache.
if you run this, you might see the same procedure multiple times, because each has a specific execution plan due to different parameters:
October 21, 2019 at 1:13 pm
does the machine in question have more than one instance installed? could you have updated just one of the multiple instances on that machine to SP4 instead of all of...
October 17, 2019 at 5:19 pm
generating the schema scripts for tables/views/procs is easy in SSMS, but don't script the data. 60 gig of data is unmanageable as flat files, you want to use The import...
October 16, 2019 at 8:35 pm
it is not possible to restore a SQL database from a higher version to a lower version.
you can only restore from lower to higher versions.
you will have to use something...
October 16, 2019 at 6:40 pm
I think you want to convert the date to varchar, and if the results is NULL, use the string NULL
ISNULL(convert(varchar(20),@Date,GETDATE()),110),'NULL')
October 16, 2019 at 6:03 pm
by queries, i am guessing you mean tables, instead.
you can sue the metadata to script out the actual queries by getting the column names, is that what you are after?...
October 16, 2019 at 4:47 pm
Viewing 15 posts - 91 through 105 (of 13,429 total)