Viewing 15 posts - 3,256 through 3,270 (of 6,396 total)
No you dont have to specify an else to do nothing
declare @i int = 1
if @i = 0
begin
select 0
end
Will just result in a "Command(s) completed successfully" message as it has...
November 28, 2012 at 6:38 am
ssarria (11/27/2012)
The idea is to create a back up of the database on a flat file. It could be by tables.though
I did use mysql workbench to update an existing...
November 28, 2012 at 6:31 am
Two ways,
Dont insert a value into the identity column of the destination
or
Add the below to the query
SET IDENTITY_INSERT tblTransactions ON
November 28, 2012 at 6:29 am
I believe the only way to do it is with the LOOKUP expression, so you will need to create two data sets in your report then use a lookup expression...
November 28, 2012 at 6:26 am
Column selectivity has a huge part to play in a statement as it tells the query optimiser what to do.
If you could follow the link in my signature on posting...
November 28, 2012 at 6:23 am
yes if the service is offline the files are not locked and can be deleted.
Now how active is the server?
Default trace will only store so much information before it rolls...
November 28, 2012 at 6:17 am
Yes I would as Gail has mentioned that the documentation on MSDN is incorrect, so anything which says its in seconds is incorrect.
November 27, 2012 at 5:04 am
Yes I would as Gail has mentioned that the documentation on MSDN is incorrect, so anything which says its in seconds is incorrect.
November 27, 2012 at 5:02 am
Yes, if the table already exists then add an INSERT INTO command below the CTE declaration above the SELECT.
If the table doesnt exist, add the INTO clause above the FROM.
WITH...
November 27, 2012 at 4:37 am
Yes, if the table already exists then add an INSERT INTO command below the CTE declaration above the SELECT.
If the table doesnt exist, add the INTO clause above the FROM.
WITH...
November 27, 2012 at 4:35 am
From MSDN
The cost refers to an estimated elapsed time in seconds required to run the serial plan on a specific hardware configuration
http://msdn.microsoft.com/en-us/library/ms188603(v=SQL.105).aspx
November 27, 2012 at 3:56 am
Simple recovery will mark the log as re-usable as soon as a checkpoint happens within the DB which will prevent the need for regular log backups and will stop the...
November 27, 2012 at 3:50 am
Please post error messages from the windows event viewer.
November 27, 2012 at 2:07 am
Read the memory management chapter in the Accidental DBA guide, link to the guide in my signature below.
November 26, 2012 at 6:21 am
Viewing 15 posts - 3,256 through 3,270 (of 6,396 total)