Viewing 15 posts - 256 through 270 (of 346 total)
Post your query. Sounds like a GROUP/COUNT problem.
November 7, 2006 at 1:53 pm
Does the stored procedure have parameters? Are you running the stored procedure with the same parameters as the ASP page runs it?
November 3, 2006 at 9:56 am
So change the select to read:
SELECT * INTO #d2 FROM deleted
SELECT @tcolname = ('SELECT '+@colname+' FROM #d2')
EXEC (@tcolname)
That will eliminate the error of #deleted already being there
November 3, 2006 at 9:48 am
Can you run that command in a CMD window ON the server?
November 3, 2006 at 9:33 am
CONVERT(CHAR(10), expression, 21) will convert the date to yyy-mm-dd
November 3, 2006 at 9:31 am
Are you deleting files that are older than a certain date? In my backup jobs I just delete ANY non-zipped backups that are out there, then do my backup. I also...
November 3, 2006 at 6:23 am
I guess Daryl beat me to the Post Reply button.
November 2, 2006 at 9:35 am
Try this:
SELECT CONVERT(CHAR(8),citrixfarm.SDB_SESSION.SESSIONSTART,101), COUNT(*)
FROM citrixfarm.SDB_SESSION
INNER JOIN
citrixfarm.LU_APPNAME
ON
citrixfarm.SDB_SESSION.FK_APPNAMEID = citrixfarm.LU_APPNAME.PK_APPNAMEID
WHERE citrixfarm.LU_APPNAME.APPNAME IN ('DESKTOP', '20 DESKTOP')
GROUP BY CONVERT(CHAR(8),citrixfarm.SDB_SESSION.SESSIONSTART,101)
November 2, 2006 at 9:34 am
One thing that you could try is to add the /n to the DIR command. That will display the date as the first column in the results.
If the row has...
November 2, 2006 at 9:19 am
Gotta disagree with your fellow colleague. When you export the data, just turn off the identity column on the destination table and then turn it back on afterwards. Make sure...
November 2, 2006 at 8:09 am
Can you post the exact code that you are having trouble with? I have done a lot of work with xp_cmdshell and should be able to help you out.
November 2, 2006 at 8:02 am
I originally opened this post because I thought it was a joke. (Hyderabad sounds like hire-a-bad) Where is Hyderbad located?
November 2, 2006 at 8:00 am
I think I have a simple solution for you, but I want to be sure that I know what you want.
Do you want the column name to be the filename, or...
November 2, 2006 at 7:56 am
I had already found that out, I just hadn't had time to post the fix. Why is there so many examples of using the Set command to assign variables on...
October 12, 2006 at 5:33 am
Excel wasn't installed on the server. I assumed that it was because DTS had the ability to generate an excel file. My original code now works.
September 13, 2006 at 2:24 pm
Viewing 15 posts - 256 through 270 (of 346 total)