Viewing 15 posts - 841 through 855 (of 13,465 total)
andrew gothard (10/10/2016)
My guess would be the SQL Server service account not having access to that location. Can't see the location / file => file doesn't exist
Agreed. C:\Users\username\{anything} is...
October 10, 2016 at 9:37 am
all those packages are actually stored in an[image] data type in the [msdb].[dbo].[sysssispackages] table.
you could preview them or manually convert them to xml stringsand save them to disk.
select convert(nvarchar(max),convert(varbinary(max),packagedata)) from...
October 8, 2016 at 8:57 am
your Columns table would need the column name, data type+ size and probably whether it's null/not null;
defaults and foreign keys, even when coming from our definitions table would be...
October 8, 2016 at 6:40 am
rperetz (10/5/2016)
This does not work for Gmail.
Gmail, like many other client applications, have an option to prevent images from showing unless the sender is trusted. I had to do that...
October 5, 2016 at 5:47 pm
based on experience, you won't find a one-function-to-rule-them-all address cleanup. break it up into smaller pieces that complement each other.
there's too many exceptions to the patterns;
what I've done previously is...
October 5, 2016 at 6:24 am
SQL-DBA-01 (9/26/2016)
Wanted to know if there is there any way to have database names aliases in SQL Server?
For example, there is a database with Name: "database A". Can...
September 26, 2016 at 2:56 pm
there's a neat trick using FOR XML to get a delimited list of columns.
here's a snippet i wrote that i use in a procedure to generate sample insert/update/merge statements.
it assumes...
September 20, 2016 at 4:32 pm
First, use Central Management Servers or Registered Servers; that will be where you add new servers as you discover them.
That functionality is built into SQL Server Management Studio, so there's...
September 20, 2016 at 7:44 am
Besides running the script with an impersonated credential, which solves the SQL problem,i would think you need an explicit path to your sql file:
sqlcmd -S myserver -E -i "C:\Data\AutomatedScripts\DeleteRecordsTest.sql"

September 13, 2016 at 7:40 am
for a large script, you'll want to execute it via sqlcmd instead of trying to open it in SSMS and executing it.
September 12, 2016 at 5:54 am
did you try selecting from the temp table, and left joining the larger table?
from your description, it sounds like your first table is the larger table, and you inner join...
September 12, 2016 at 5:42 am
you are doing it correctly, but it depends on what is doing the presenting.
In Grid mode in Management Studio, CrLf are ignored(converted to spaces) FOR PRESENTATION ONLY, if you copy...
August 30, 2016 at 7:56 am
SQL_Student (8/29/2016)
Thanks I tried that, but if user has sysadmin role he still has access to the db 🙁
in general, If someone has sysadmin access, you cannot restrict access to...
August 29, 2016 at 5:34 am
when the view is actually compiled, the wild card is expanded to the list of actual column names in the compiled version of the view;that's to avoid dynamically having to...
August 28, 2016 at 5:57 am
there's a number of powershell scripts that use SMO to script out all objects as well;
you could easily set something up to call that on a regular basis.
I'll see if...
August 23, 2016 at 11:23 am
Viewing 15 posts - 841 through 855 (of 13,465 total)