Viewing 15 posts - 16 through 30 (of 54 total)
XCopy still exists on Win2008, thankfully although slated to be deprecated. Still need to check on 2012 but my feeling is that it is still there
An alternative is Robocopy.
April 12, 2013 at 1:45 am
Are you trying to access SQL from the internet in which case are you using the correct IP address? Try http://www.whatismyip.com/ or similar from the box in question....
April 12, 2013 at 1:37 am
Can you provide the table definitons. And any data if poss
April 11, 2013 at 6:53 am
To turn into a stored procedure then its simple:
create proc sp_GetEventOccurances @SelectedYearchar(4)
as
begin
Declare@SqlCmdvarchar(8000)
,@Columnsvarchar(8000)
,@min_Datedate
,@max_Datedate;
-- Work out the Data range
select@min_Date = min( Event_Start )
,@max_Date = max...
April 10, 2013 at 5:35 am
Although not coded in an efficent way the following might help...
CREATE PROC dbo.MyProcedure
AS
declare @token1 int
,@token2 int
...
April 10, 2013 at 3:36 am
A slight alternative that might be easier to understand:
Sample data:
If Object_Id('TempDB..#Editions', 'U') Is Not Null
Drop Table #Editions
Create Table #Editions
(
Edition_ID Int Primary Key Clustered,
Edition_Year int,
Edition_Start date ,
Edition_Finish date
)
Set Dateformat DMY
Insert...
April 10, 2013 at 3:12 am
Interesting.
Or old school:
select distinct Number from master.dbo.spt_values where number between 0 and 1000
Another one I have seen is:
;With CTE ( [Number] ) as (
select Number =...
April 9, 2013 at 5:21 am
Travis (4/8/2013)
Steve JP (4/8/2013)
“You can please some of the people all of the time, you can please all of the people some of the time, but...
April 9, 2013 at 1:28 am
If someone cant take any comment about their work then they and not the person passing comment ought to be on soft skill training. I have worked with someone who...
April 8, 2013 at 9:27 am
Get into a habit of leaving the "on primary" off all your code. When the code gets released the DBA can decide if it is appropriate where the objects (tables,...
April 2, 2013 at 6:01 am
charipg (3/29/2013)
i am able to connect with instancename with port number but i need to connect without mention the port number.
Then what is the name of the instance...
March 29, 2013 at 7:20 am
Where can you connect from?
locally on the server but not from a remote machhine then it wold indicate that either a fire wall (or a router with an access control...
March 29, 2013 at 4:59 am
If you navigate to the folder or to the equilivant:
C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Log
You should see a list of errorlog files. Open the the most recent file and see what port...
March 29, 2013 at 4:54 am
Is the SQL Browser running on the server?
Go to the command prompt and run:
tracert <servername>
What is the response? It should list the IP address os the sever and none of...
March 28, 2013 at 10:25 am
MSSQL_NOOB (3/28/2013)
.............. [ed]
Let's say I have a
full backup at 12:00am.
log backup at 12:30am
log backup at 1:00am.
Will my 1:00am log backup have data from 12:00am - 1:00am...
March 28, 2013 at 10:15 am
Viewing 15 posts - 16 through 30 (of 54 total)