Viewing 15 posts - 10,411 through 10,425 (of 26,489 total)
Could be permissions on the file itself. Hard to tell from here.
July 27, 2012 at 1:26 pm
Looks like a permissions issue, SQL Server can't read from the directory of C:\ZZZ.
July 27, 2012 at 1:01 pm
Sean Lange (7/27/2012)
Not sure what the issue with posting the code so I will help that. 😀...
Not sure, Sean, but I know I had issues with some of the code...
July 27, 2012 at 12:57 pm
Lokesh Vij (7/27/2012)
Step 1 : adds one day to current datetime
SELECT GETDATE()+1 AS NextDay
Step 2 : If only date is required
SELECT CONVERT(DATE,GETDATE()+1) AS NextDay
Could just be me, but I'd...
July 27, 2012 at 12:48 pm
Lokesh Vij (7/27/2012)
SELECT name column_name,
CASE is_ansi_padded
...
July 27, 2012 at 12:21 pm
OR should that INNER JOIN be a CROSS APPLY? Could sleep last night and with nothing to use for testing I may have the wrong statement there. Thinking...
July 27, 2012 at 11:47 am
Gazareth (7/27/2012)
Of course, if you were willing to pay for MSSQL, you could also look at Oracle or DB2 which both work on Linux 🙂
You owe the O word a...
July 27, 2012 at 11:17 am
Scott D. Jacobson (7/27/2012)
"NORECOVERY", no underscore.
Nice catch, mistake in my typing. I should have just done a cut and paste.
July 27, 2012 at 11:09 am
Try:
BACKUP LOG database_name TO <backup_device> WITH NO_RECOVERY
Based on what I read here:
July 27, 2012 at 9:39 am
harri.reddy (7/27/2012)
hii want next day function
for example. if i enter 12/31/2008 ,it should give me 01/01/2009
declare @ThisDay date = '20081231';
select dateadd(dd, 1, @ThisDay) -- returns the next day
July 27, 2012 at 9:00 am
The AND criteria in the WHERE clause could possibily go away if the last join I added is correct.
July 27, 2012 at 7:08 am
Lynn Pettis (7/27/2012)
with BaseData as (
select
[SID]
from
dbo.ContStand -- table3
union
select
[SID]
from
...
July 27, 2012 at 7:04 am
Does this do what you are trying to accomplish?
This code won't work, the CTE is declared in the wrong place. Corrected code is in the next post.
selects.SID,
s.Label,
s.State,
clAge.ClassID...
July 27, 2012 at 6:56 am
anthony.green (7/27/2012)
selects.SID,
s.Label,
s.State,
clAge.ClassID AS AgeGradeID,
clSubject.ClassID AS SubjectID,
s.Description,
dbo.functioncall(s.SID) AS ResourceList
from Stand...
July 27, 2012 at 6:20 am
subbareddy542 (7/27/2012)
pls try below codeSELECT * FROM iaxChecksCurrent
WHERE
CONVERT(varchar(10),UploadDate,120) = '2012-07-18'
This query won't use an index if one exists on UploadDate as the conversion from datetime to character string must be...
July 27, 2012 at 5:06 am
Viewing 15 posts - 10,411 through 10,425 (of 26,489 total)