Viewing 15 posts - 3,931 through 3,945 (of 13,469 total)
it's not obvious where the alias goes;
here's two examples:
SELECT POPRCTNM,
STUFF((SELECT ','+ CAST(ACTINDX AS varchar)
FROM POP30390...
March 5, 2013 at 11:24 am
a CLR has access to all tables in the scope of the transaction if you use the context connection; (ie #temp tables and @Tablevariables
one option is to have the CLR...
March 5, 2013 at 5:34 am
That trigger emulates what a column with an identity does... so you can simply define the column as having an identity and skip the trigger completely.
Create table tbname (colname int...
March 5, 2013 at 4:44 am
it's possible, but you have to register your DLL into the database as an assembly, before you can create a CLR which uses your Medical.DLL as a reference. You might...
March 4, 2013 at 2:55 pm
probably one of the best maintenance solutions out there is this free, peer reviewed, used in major production facilities and major companies solution offer by the world renowned SQL DBA...
March 4, 2013 at 2:44 pm
certainly possible, but you need to generate a list of all possible dates;
A Tally Table is one of the easiest ways to do that;
here's just one way to do it:
create...
March 4, 2013 at 1:35 pm
a parameter declared like DECLARE @var NVARCHAR or DECLARE @var2 VARCHAR has a size of ONE character...I think that's what Phil is going after...bad definition in the Stored procedure.
you would...
March 4, 2013 at 12:25 pm
ok i just tested this, but i made some assumptions;
when you say "
I THINK you are saying "If I pass this string 'd;c;b;a;e', i want the companies ordered in that...
March 1, 2013 at 3:16 pm
saifulislam6720 (3/1/2013)
March 1, 2013 at 11:43 am
Great job on supplying the DDL and Sample data;
probably a copy paste error, but two of the dates have the month "22", so i couldn't get it loaded all teh...
February 28, 2013 at 11:25 am
Raghunath Garlapati (2/28/2013)
We have around 1500 tables and 15000 columns. My concern is not about the increase in DB size(memory).
I am more interested to know that...
February 28, 2013 at 6:19 am
extended properties don't have any significant impact on the database size; it's not describing per-row data, but rather schema data.
the other thing to remember is that objects that are not...
February 28, 2013 at 5:39 am
The query you posted is using the same index stats to determine when the LAST time a table was accessed. you had asked for the most frequently used, which my...
February 28, 2013 at 5:20 am
Viewing 15 posts - 3,931 through 3,945 (of 13,469 total)