Viewing 15 posts - 3,271 through 3,285 (of 13,469 total)
I don't think you've provided everything you need, anyway;
i don't see any relationship for the table [pstatus] table to your [patient] table.
your [patient] table should have separate fields for firstname/middle...
June 18, 2013 at 6:59 am
wow an awfully broad subject there;
take a look at the forum dedicated to Powershell and SQL server here
from there, you can see there are broad categories of uses, but one...
June 18, 2013 at 5:45 am
can you return a case statement instead?
SELECT
CASE WHEN @param1 = 1 THEN 1 ELSE THEN 3 END as column1,
CASE WHEN @param1 = 2 THEN 2 ELSE THEN...
June 17, 2013 at 2:43 pm
details or ddl wasn't available, so here's my best guess.
is the trigger setting values on the table is is set for, or a completely different table ("Audit")?
because you...
June 17, 2013 at 2:38 pm
grab a copy of sp_whoisactive here:
http://sqlblog.com/blogs/adam_machanic/archive/2012/03/22/released-who-is-active-v11-11.aspx
from there, you need to look at the parameters, but for example running this:
EXEC sp_whoisactive
@show_own_spid =1,
@show_sleeping_spids =1
will show me a...
June 17, 2013 at 1:52 pm
you didn't mention if you followed HanShi's advice about pinging all the ip addresses you think you want to use for your cluster; it really does sound like somethign has...
June 17, 2013 at 9:33 am
ksatpute123 (6/17/2013)
I want to find out all the object referring the columns in a table....
June 17, 2013 at 7:38 am
by introducing a row_number function that partitions by the two columns, you cna find unique rows; fromt here, it's just the same query you had before, but hitting a subquery...
June 17, 2013 at 5:39 am
mca.deepak3335 (6/17/2013)
can any one give me script for generating .ndf files in sql server 2008
did you mean scripting existing files?
fastest way i think would be to right click on...
June 17, 2013 at 5:29 am
Almost everything in scripting is configurable as to whether a result is scripted or skipped;
spend some time reviewing the many scripting options that are in Tools>>Options;
As I remember, scripting of...
June 17, 2013 at 5:23 am
Great Sam! which SQL Saturday is this for? i know there is a local(for me) in the Fort Lauderdale area coming up in three weeks or so; I was wondering...
June 14, 2013 at 1:04 pm
first thing i see is the non-Sargable WHERe statemnet in the first CTE:
cteMain is not Sargable:
WHERE (DATEDIFF(d, g.HireDate, GETDATE()) > 181
i think this is the equivilent, and would use...
June 14, 2013 at 11:53 am
hydbadrose (6/14/2013)
June 14, 2013 at 10:16 am
I see the issue now.
bcp cannot take any input with carriage return line feeds.
your statement is easy to read, because it has the CrLf in it, but i'ts not valid...
June 14, 2013 at 7:32 am
probably permissions; when you go outside of a database, like to the command line, a user you do not expect(the startup account of the service) is used
does this code return...
June 14, 2013 at 6:57 am
Viewing 15 posts - 3,271 through 3,285 (of 13,469 total)