Viewing 15 posts - 16 through 30 (of 35 total)
This is by design and can be quickly fixed in Management Studio by unchecking a property. To fix this in Management Studio, go to Tools -> Options then go to...
January 11, 2010 at 8:07 am
You really dont need to do that. You can format the date anyway you like but still keep the order by on the actual column invoice date and you...
January 11, 2010 at 7:31 am
You may Microsoft SQL Server Native Client
Microsoft SQL Server Native Client (SQL Native Client) is a single dynamic-link library (DLL) containing both the SQL...
January 7, 2010 at 1:33 pm
Why in the world would we be referencing a standard from 89?
I was of course referring to current ansi compliance
As of ansi-92 the *= in sql server and the (+)...
January 7, 2010 at 1:13 pm
SELECT REPLACE(CONVERT(VARCHAR(10), GETDATE(), 1), '/', '') AS [MMDDYY]]
you would need to replace GETDATE() function with your date field. This will display as
010710.
Are the leading zeros a problem?
January 7, 2010 at 11:22 am
You could union the selects together and then sort by choice and your existing criteria
select 1 as choice,workstation, date_entered from inventory
where part_number='ABC' and workstation>=5
UNION
select...
January 7, 2010 at 11:12 am
left outer join, right outer join would have the asterisk on the right side of the =, this is not ansi standard SQL
January 7, 2010 at 10:59 am
I am not sure if this affects just columns in a table that use max or also affects variables, you might one to give the sp_tableoption a try
When the...
January 7, 2010 at 9:09 am
I will also check on the limits of character strings, however, if this is an internal string do you really need an nvarchar? if you used the varchar you...
January 7, 2010 at 8:39 am
SSC, the reason you have the error is you are trying to reference the main table in your inline view query in the inner join and you can not do...
January 7, 2010 at 8:02 am
what is it that you are trying to count. The query above does not have your where clause which is easy to add but is missing the count. ...
January 5, 2010 at 8:36 am
you need to provide more information. If the dates are stored in datetime format the sorting will working properly, it appears that you are trying to sort on an...
January 2, 2010 at 7:59 am
just to reiterate, you can only use the cte in the following line after the definition so if you define three cte's you must use them all in the following...
January 1, 2010 at 9:46 am
I am not sure why you are doing a join on the software table if you already know the four values you want to insert, however, the query I gave...
December 31, 2009 at 9:10 am
If I understand your problem correctly, You have all computers in computers table, all software in software table and the compsoft table will have the combination of the two....
December 30, 2009 at 7:31 pm
Viewing 15 posts - 16 through 30 (of 35 total)