Viewing 15 posts - 706 through 720 (of 1,409 total)
I am certanly not a SSIS expert so I can't give you more details. Others on this forum might provide better help on that. But as far as I know...
August 29, 2013 at 6:58 am
Here is the corrected statement:
SET @StartDate = convert(VARCHAR(10), getdate(), 101)
+ ' ' + (CAST(DATEPART(hh, (SELECT [Value] FROM tbltime WHERE NAME='TIME')) AS VARCHAR)
+ ':' + CAST(DATEPART(mi, (SELECT [Value] FROM tbltime WHERE...
August 29, 2013 at 6:11 am
You didn't seperate the date and time part with a space. And in the last part of your query you are using the "DATEPART(ss,...)" twice and you are also not...
August 29, 2013 at 6:07 am
Koen Verbeeck (8/29/2013)
You could also execute a stored procedure on startup.
That's new to me. Thanks, I learned something 😉
August 29, 2013 at 5:34 am
If you want logging of the startup and shutdown time of an instance, consider the following:
You can setup another server/instance and poll the connectivity to the required instance(s) every minute...
August 29, 2013 at 5:32 am
To write data when the instance is started you can create a job with a schedule to be executed "Start automatically when SQL Agent starts". Maybe you should include some...
August 29, 2013 at 5:25 am
They say 'there are no dumb questions'. At least you learned from it 😀
Glad you found the answer yourself.
August 29, 2013 at 4:08 am
dokledon (8/29/2013)
I think there is no more doubt about Default instances in a Cluster.1) What about Static port number ? Can we use default 1433 for all instances ?
Yes, that...
August 29, 2013 at 4:01 am
mohan.bndr (8/29/2013)
... as i am not able to run DBCC Checkdb against database and the drive also having sufficient free space for datafile....
What is the error message you get when...
August 29, 2013 at 3:14 am
In my opinion the easiest solution will be to create the report with two seperated tablixes, each holding a different resultset.
August 29, 2013 at 2:40 am
If you have good control over the insert statements you could issue a RESEED command after the first insert.
DBCC CHECKIDENT ("{tablename}", RESEED, 0);
Or create a table with IDENTITY(1,1) and use...
August 29, 2013 at 2:18 am
baabhu (8/29/2013)
Else you can truncate and reinsert the data.
A truncate will reset the IDENTITY values to the initial settings. Reinserting the data after a truncate will again use the...
August 29, 2013 at 2:10 am
Koen Verbeeck (8/29/2013)
And how can you improve a query? By updating statistics, minimize logging, creating indexes, compress the data, partition the table, ... 🙂 😉
You are absolutely right, but without...
August 29, 2013 at 1:26 am
Yes, you need to know all columns and define your query accordingly.
But WHY do you want to display two completely different resultsets into one single resultset?
August 29, 2013 at 1:20 am
You are not to be improving a table, but you need to improve the queries accessing that table. A table can be optimized by the options Koen has mentioned. But...
August 29, 2013 at 1:13 am
Viewing 15 posts - 706 through 720 (of 1,409 total)