Viewing 15 posts - 1,216 through 1,230 (of 13,445 total)
Igor thank you very much for your feedback!
Your feedback was spot on, and the extra pair of eyes helped enormously.
because you gave such detailed feedback, i was easily able to...
March 7, 2016 at 6:19 am
i would recommend adding an explicit formatting to the date to guarantee it's converted to YYYY--MM-DD format.
you could potentially be getting dd/mm/yyyy,mm/dd/yyyy or event ""Mar 3 2016" if you don't...
March 4, 2016 at 10:16 am
bcp called via xp_cmdshell runs under the context of the service account running SQL, and not as the logged in user who executed it.
the account is probably not a...
March 4, 2016 at 10:07 am
There's a nifty builtin function called PARSENAME that splits a string like an Application Versions, IP addresses or Servername.Databasename.SchemaName.TableName into it's parts.
you can use that to isolate the second section...
March 4, 2016 at 10:01 am
Sean Lange (3/3/2016)
March 3, 2016 at 2:12 pm
i did a big Powershell documentation initiative.
this script from awhile ago started it:
Powershell script to script out jobs, databases, users, linked servers, logins, roles, alerts, etc from a list of...
March 3, 2016 at 11:13 am
sgrimard (3/3/2016)
I am wondering what would be the easiest way to recreate an existing database schema (sprocs, tables, constraints, etc..) without the data.
In MSSQL, I know you can use...
March 3, 2016 at 11:01 am
as a general rule, if you've deflared @variables, you made a mistake in a trigger, and are limiting yourself to single row data instead if set based.
the issue is your...
March 3, 2016 at 10:13 am
kaplan71 (3/3/2016)
I am running a SQL script that is designed to query the whole log of a particular database. The syntax of the script is the following:
use RayStationMachineDB_472
select *...
March 3, 2016 at 9:53 am
EXEC sp_msdependencies @intrans = 1
that will give you all objects in foreign key hierarchy order. it can be painfully slow or never ends if you...
March 3, 2016 at 7:09 am
i googled a bit and i saw quite a few blogs and examples on how to do this;
I would recommend starting there:
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=load+twitter+into+SQL
March 3, 2016 at 6:24 am
if it's truly a handful of tables, and the servers can talk to each other, i'd consider using either a MERGE statement or a pair of UPDATE/INSERT;
that assumes that...
March 2, 2016 at 2:56 pm
I have Redgate SQL Compare, but we do not(unfortunately) use source control for SQL objects.
I have a methodology for this situation that might help, assuming you also have SQL Compare.
In...
March 2, 2016 at 5:37 am
you should just pass all the parameters; if one of the columns is a column name, you have to select it from the table;
select dbo.CountOpps(User_ID, @StartDate, @EndDate),*
FROM SOMETABLE
March 1, 2016 at 11:18 am
this almost sounds like ID_NUM is a foreign key, and you want to render the details inline in the table; why not just create a view that pulls the data...
March 1, 2016 at 11:03 am
Viewing 15 posts - 1,216 through 1,230 (of 13,445 total)