Viewing 15 posts - 1 through 15 (of 18 total)
Thanks again Grant,
I will see if it works for me...
September 23, 2021 at 1:41 pm
I see now I did not make my question as clear as I should.
In the WHERE clause, I want to be able to have the user toggle between
September 23, 2021 at 12:16 pm
Thanks for all of your collective help.
I have enough input to work with now.
Regards,
September 18, 2021 at 2:04 pm
Ah, I see
I had hoped I could use it in an SQL Script...
September 17, 2021 at 6:13 pm
Thanks, Michael,
The query works fine, and it shows my list of Stored Procedures.
It does not seem to 'execute' this Query as a part of my script though.
What am I missing?
Thanks...
September 17, 2021 at 5:51 pm
mmm, not what U hoped for, but it is a clear answer, though.
Thanks for your help, Grant
September 17, 2021 at 3:08 pm
It's working now!
I got this message:
(2 rows affected)
RESTORE command being run follows below:
RESTORE DATABASE [010] FROM DISK = 'D:\EOLBackup.BAK' WITH RECOVERY, FILE = 1, STATS = 05,...
February 16, 2021 at 8:24 pm
Thanks for helping also.
I get these messages when running the script.
Msg 213, Level 16, State 7, Line 1
Column name or number of supplied values does not match...
February 16, 2021 at 12:22 pm
Thanks again for your help Scott.
I get this returned:
(2 rows affected)
RESTORE command being run follows below:
RESTORE DATABASE [010] FROM DISK = 'D:\EOLBackup.BAK' WITH RECOVERY, FILE = 1,...
February 15, 2021 at 10:12 pm
This works:
RESTORE DATABASE [010]
FROM DISK = N'D:\EOLBackup.bak'
WITH FILE = 1,
MOVE N'EOLBackup_{7b720fb4-e0b8-4476-a97f-fcb8cf291344}' TO N'C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\DATA\010.mdf', ...
February 14, 2021 at 10:55 pm
Thanks for your help Scott, but to "adjust this as needed" is going way over my head.
I am sure this is what I need, but I am not able to...
February 14, 2021 at 10:49 pm
It's very clear and good to understand for me.
So I now have a solution, AND the explanation of it.
Thanks again for your effort.
Arnold
June 20, 2015 at 11:44 am
Thanks very much for your solution Jacob...
This works perfectly !
Unfortunately I haven't got a clue how this works.
Do you mind explaining it a bit? Just to understand what you...
June 20, 2015 at 11:11 am
Thanks for your help Alvin,
That works okay.
One more thing. My query is about 140 lines long.
Is there a way to do the If Then on one select column only and/or...
June 9, 2015 at 11:21 am
Viewing 15 posts - 1 through 15 (of 18 total)