Viewing 15 posts - 781 through 795 (of 1,233 total)
Luis Cazares (1/27/2015)
SELECT columns_to_return
FROM dbo.XYZ
WHERE date_column > REPLACE( CONVERT(...
January 27, 2015 at 1:10 pm
I too like the column on the left and expression on the right. I also like to use the year argument to know I am interested in one year back,...
January 27, 2015 at 12:08 pm
I thought something like the following may be helpful as well , based on your requirements of course...
select postalCode = Case when patindex('%[0-9]%',postalcode) > 0
...
January 27, 2015 at 11:48 am
keshav_nitrkl (1/23/2015)
My report is having three fields : NAME || Level || ID .I have a single dataset and a filter to my dataset. The dataset filter should work...
January 26, 2015 at 11:47 am
our database it is on SQL Server 2012 sp1 but is a sql 2005 database in compatibility mode
Is this the case also on your copy of the environment?
January 26, 2015 at 11:04 am
declare sorder cursor for
select SRREFERENCE
--,@updateflag = SlaUpdate
from inserted
open sla
FETCH NEXT FROM sla INTO @salesorder
WHILE @@FETCH_STATUS = 0
BEGIN
Would this cursor not only gather one row? (I assume you meant that...
January 23, 2015 at 2:52 pm
Good point on the results to text. I have the habit of throwing the results to grid, doing a click on the select all corner of the results tab, copying...
January 23, 2015 at 2:04 pm
EXEC SP_HELPTEXT 'schema.viewName';
This formats the output across multiple lines rather than just one. I find it way handier when copying long definitions to the SSMS window.
January 23, 2015 at 11:33 am
phil.doensen (1/15/2015)
January 15, 2015 at 7:34 pm
I have not seen a mention of the Data Flow task. That is SSIS's bread and butter item for moving data around. Since you mention about 4000 rows per batch...
January 15, 2015 at 5:06 pm
I think the business intelligence products (SSIS , SSAS , SSRS ) are a huge plus if you are looking at the warehousing side of things and not...
January 15, 2015 at 4:14 pm
I think the OP may just want a general illustration , may not be solving anything in particular. Here is another method :
declare @t table
(
ID int
...
January 15, 2015 at 3:53 pm
The screen shot shows your initial size for the first file at 155GB, not 100GB.
If this picture is incorrect I can suggest tinkering with the data management views to detect...
January 15, 2015 at 3:36 pm
You could go the way of variable expressions here with a data flow within the for loop container. Unless I am missing something you could:
variable,
type,
expression
-----------------------------------
StaticFolderNum,
int32,
no expression...
January 7, 2015 at 6:04 pm
For the plan that still does not work, did you try changing the "Local Server Connection" in the maintenance plan to a custom one with the account used being Windows...
January 7, 2015 at 11:56 am
Viewing 15 posts - 781 through 795 (of 1,233 total)