Viewing 15 posts - 346 through 360 (of 13,469 total)
have you set a proxy up on the job that is going to do the work?
that's pretty essential for anything that touches stuff outside of SQL server, like command...
September 15, 2017 at 11:48 am
the restore headeronly command can do what you are asking
the results has a column named "SoftwareVersionMajor", and "SoftwareVersionMinor", where you can get things like 13,0 for SQL2016, for...
September 15, 2017 at 9:24 am
where are you displaying this, in SSMS or in some SSRS report?
you can convert the values to varchar with a case statement, but is that what you want?
September 14, 2017 at 2:15 pm
I've seen this as a cross check that the big file is not still currently being written to; ie the file exists, and would be open but potentially if read would...
September 14, 2017 at 12:24 pm
it is not possible that a database restore skips a table.
that means the table was empty at the time of the backup.
you most likely need to go to a...
September 13, 2017 at 8:23 am
nope, you have to drop the foreign keys that reference the PK, then drop the PK, then recreate a new PK and -the foreign keys so they now feature the...
September 13, 2017 at 7:06 am
I have to use this kind of logic to maintain a suite of tables that are consistent as a group, ie all data s of 8am, and I can hot...
September 5, 2017 at 2:43 pm
how about swapping objects in and out of a schema? doing a bunch of transfers is extremely fast, but like Chris said, you are consuming resources on production to do the...
September 5, 2017 at 1:00 pm
SSDT can connect to FTP but not SecureFTP/SFTP.. FileZilla or many other executables handle both FTP and SFTP.
if that is what you are connecting to, you'll need to...
September 2, 2017 at 3:37 am
so do you want to arrange your data as columns, or one column that is comma delimted?
yopu did not provide an example query or expected output, but here's...
August 31, 2017 at 6:05 am
you have to be patient. it finishes rolling back when it finishes. maybe 15 to 30 hours from now; it's common that a rollback can take twice as long as...
August 31, 2017 at 5:48 am
I think you should have fixed the one query that was the issue, since you already identified it as a problem.
instead you changed the entire server behavior to account...
August 30, 2017 at 7:59 am
i do something exactly like this in PowerShell; with that, i can capture the output of the script, whether it was an info message, a data set or an error...
August 25, 2017 at 7:52 am
here's a quick and dirty version of powershell, detailing what Grant was referencing
$FileNames = Invoke-SQLCMD -Query "SELECT top 5 'C:\Data\' + name + '.sql'...
August 22, 2017 at 3:42 pm
I don't know that ConenctionProperty is actually database functionality . function. it's server functionality related to the connection, right?
this works in SQL2008 and above, and I just checked, and...
August 21, 2017 at 1:55 pm
Viewing 15 posts - 346 through 360 (of 13,469 total)