Hi,
If I am restoring a user database(that already exists) to a backup server using the latest full backup and transaction logs from the production server, do I use the REPLACE option or not.
Thanks
Hi,
I have a second sql server, that already has its own system databases, and a few user databases.
If I want to restore some user databases from another server, do I need to restore the system databases also(before or after), OR will that make the existing user databases unusable?
Thanks
I figured it out myself...
used the /R switch of the FOR command instead.
SET CURDIR=%CD%
FOR /R %CURDIR% %%G IN (*.*) DO (
ECHO open serverip > script_ftp.txt
ECHO user username password >> script_ftp.txt
ECHO put %%G >> script_ftp.txt
ECHO bye >> script_ftp.txt
ftp -v...
I figured it out myself...
used the /R switch of the FOR command instead.
SET CURDIR=%CD%
FOR /R %CURDIR% %%G IN (*.*) DO (
ECHO open serverip > script_ftp.txt
ECHO user username password >> script_ftp.txt
ECHO put %%G >> script_ftp.txt
ECHO bye >> script_ftp.txt
ftp -v -i -n...
Hi,
I have a batch file that ftps. Here is what it does.
1. It creates a directory listing file of all directories in the current directory.
2. It changes the current directory to each sub directory.
3. It creates a file listing file of all files in the subdirectory.
4. It ftps each file in...
Hi,
I have a batch file that ftps. Here is what it does.
1. It creates a directory listing file of all directories in the current directory.
2. It changes the current directory to each sub directory.
3. It creates a file listing file of all files in the subdirectory.
4. It ftps each file in...
...if the user didn't make a choice on the forms choice.
What throws me off is that I thought I used to design the query to someting like
"select * from table1 where id = [forms.parameter] or id is null"
I guess it really was
"select * from table1 where id = [forms.parameter] or...
Hey gmastros,
Question:
what would be the difference between,
Where (@PassedId Is NULL Or Data = @PassedId)
and
Where (Data Is NULL Or Data = @PassedId)
The first one works, but I can't figure out why.
Thanks
Hi Qik3Coder,
Select *
from @Temp
Where (@PassedId Is NULL Or Data = @PassedId)
was what I was looking for. Thanks.
I also came up with this solution
GO
ALTER PROCEDURE [dbo].[myprocname]
-- Add the parameters for the stored procedure here
@PassedID varchar(10) = '%'
AS...
...to add logic, i.e. If @PassID = NULL, etc.
Is there a way to use a wildcard?
Do I have to CAST it first?
Example
GO
ALTER PROCEDURE [dbo].[myprocname]
-- Add the parameters for the stored procedure here
@PassedID int = '> 0'
AS
BEGIN
SELECT *
FROM TABLE1
WHERE TABLE1.ThisID = @PassedID
Hello,
I am relatively new to asp.net, coming from classic asp background and I need a brief tutorial on the differences of implementing javascript in an asp.net page, compared to the what I am familiar with using classic asp.
Any small summation of the differences, if any, would be a jump...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.