Viewing 15 posts - 13,501 through 13,515 (of 15,381 total)
What is the question? Are you trying to create a function that receives two parameters? If you can clearly explain what you are trying to do we can help.
November 16, 2011 at 12:11 pm
Please don't cross post. It just fragments your answers. Please direct all replies to the original thread.
http://www.sqlservercentral.com/Forums/Topic1207019-1063-1.aspx
November 16, 2011 at 12:09 pm
This looks pretty good. However your select statement is not quite correct. You need to get the status relative to the row in inserted. The way your subselect is coded...
November 16, 2011 at 8:40 am
Not exactly sure what the question is here. But you certainly don't need to create a temp table to hold one column of data from a permanent table to use...
November 16, 2011 at 8:26 am
Try it out and see what values you are using.
select DATEADD(M, -2, GETDATE()), DATEADD(M, -1, GETDATE())
Remember that if you don't understand the code you are running you could be running...
November 16, 2011 at 7:41 am
So you can only have 1 open connection at a time? Are you using Access?
November 15, 2011 at 3:37 pm
Pretty sparse on details but we will see what we can do.
Can you connect to the database is SSMS with the same credentials you are using from your application? Double...
November 15, 2011 at 3:27 pm
No problem. Sounds like you need to find a way to get some time off. 😉
Let me know if still need some help with this and we can take a...
November 15, 2011 at 1:18 pm
Could be. There are certainly a number of other things in sql server to avoid unless it is absolutely necessary (cursors, sql variant, xml, etc). As with all things sql...
November 15, 2011 at 1:15 pm
Well given that you didn't post any ddl, or sample data it is impossible to tell what might be wrong.
The query you posted looks on the surface like it would...
November 15, 2011 at 1:07 pm
What is the issue? From the sample you posted it looks like your totals are correct.
November 15, 2011 at 1:01 pm
Oh, it would be great to have a format function built in to SQL Server like String.Format.
I have to disagree with that sentiment. Display formatting should be left to the...
November 15, 2011 at 12:58 pm
corder (11/15/2011)
DECLARE @Result varchar(10) = ''
IF 1 > 0 BEGIN Select @Result = 'True' END
SELECT @Result
Versus
DECLARE @Result varchar(10) = ''
SELECT @Result...
November 15, 2011 at 12:54 pm
Lowell (11/15/2011)
my issue with it is that no matter how long you wait between the clicks to "add 30 seconds", 30 seconds + 30 seconds = 60 seconds....
...but that is...
November 15, 2011 at 12:16 pm
jared-709193 (11/15/2011)
I think Sean meant that the 2 elements involved with the client are the client itself and the web server. The client never sees the SQL server.
That...
November 15, 2011 at 9:46 am
Viewing 15 posts - 13,501 through 13,515 (of 15,381 total)