| Thread | Last Post | Replies |
|
| A .cmd file can be run on SQL7, but not on SQL2000 | 31 Mar 2006 00:26 GMT | 3 |
I have a command file with the following SQL statement: bcp "SELECT * FROM [%dbname%].[dbo].[%1] WHERE DATEDIFF(hour,TimeStamp, DATEADD(n, -DATEPART(n,getdate()), getdate())) <=24" queryout %CurDate%.tmp -U -P -f %formatfile%
|
| Need help with Simple script | 20 Mar 2006 18:17 GMT | 2 |
Example data: column1 column2 abcs12 123456 asdf-af 1234
|
| UPDATETEXT table_name | 19 Mar 2006 00:36 GMT | 2 |
I am attempting to update a text field using UPDATETEXT I need the table_name for UPDATETEXT table_name.dest_column_name However, my SP could be running on ANY database. So like any other query, I just want it to use the current database.
|
| Enterprise Manager 'Change Query Type' Window | 17 Mar 2006 22:56 GMT | 1 |
I'm running a SQL Server Enterprise Manager. When I click on 'Change Query Type', a window pops up on the bottom right hand corner of my screen with the options: 'Select, Insert from, Insert into, Update, etc.'. The window used to appear right under the bottom, but now every ...
|
| Nested select | 14 Mar 2006 00:54 GMT | 6 |
Can you tell me whats wrong with this query? select count(*) as CountedOrders from (
|
| Help with a query please | 12 Mar 2006 22:56 GMT | 1 |
I have been strugling with for hours - I have a table with the following columns UID(decimal) | SD(bit) | MB(bit) | TS(bit) | Total(Decimal) I want to run a query which will return
|
| SQL | 10 Mar 2006 21:57 GMT | 1 |
i have a field that has the date of birth's in the following format, 20/06/1982 i want to take this out of the date of births / , the finish date of birth field should be like this
|
| Using wildcard criteria in an 'in' statement | 09 Mar 2006 21:28 GMT | 1 |
I need to search for multiple things, all using wildcards but it does not seem to work: select * from Table
|
| SQL ADD THREE FIELDS INTO OTHER FIELS | 08 Mar 2006 21:52 GMT | 1 |
i have three fields that are title, firstname and surname, i want to add all three field together in a different field, How can this be done
|
| support for bind variables? | 04 Mar 2006 15:19 GMT | 1 |
I recently did a little development on an Oracle database and utilized bind variables in a script like this: SELECT first_name, last_name, zip FROM customers WHERE id = :cust_no and simply defined ":cust_no" as a parameter through my application code. I
|