| Thread | Last Post | Replies |
|
| GROUP BY Error | 05 Dec 2008 18:01 GMT | 22 |
I need to remove some duplicates records from a temp table while using the below sql statement. SELECT * INTO VAmerica_Temp2
|
| SP help with dates | 05 Dec 2008 17:54 GMT | 3 |
I have the following SP : USE [RR_Logistics] GO SET ANSI_NULLS ON
|
| Data Type Money | 05 Dec 2008 16:51 GMT | 7 |
I am using the datatype money and when there is no change it displays the dollar amount like this: $60 instead of $60.00. However is there was a dollar amount of $60.01, it would display the
|
| Automatically run a stored procedure at 45 minutes past the hour, every hour | 05 Dec 2008 15:33 GMT | 13 |
How can I automatically run a stored procedure at 45 minutes past the hour, every hour (SQL 2005)?
|
| Question about performance when using a JOIN | 05 Dec 2008 15:16 GMT | 6 |
I have a table of people and I would like to retrieve all the persons that are somehow duplicated (I will consider 3 columns for this: FirstName, LastName and MiddleName) These are my 2 possible options to do this:
|
| SQL 2000 Blobs | 05 Dec 2008 11:41 GMT | 1 |
We have a CRM called Goldvision, it stores copies of emails in the database. It has a table for attachments. The size of this table is around 20Gb. If we were to store the attachments in the file system, would it also be 20Gb?
|
| Incrementer Procedure | 05 Dec 2008 11:15 GMT | 6 |
I have an image upload utility, and i want to make sure that if the same image is uploaded twice, and counter will be appended to the @ImagePath. For right now, i'm just adding the string 'tempCounter' and trying to get the @ImageCnt to increment properly. Basically, the
|
| How to create query that will summarize details? | 05 Dec 2008 10:59 GMT | 3 |
I have a table similar to this one: SerialNo Description StartDate EndDate RepairDate RejectDate 001 TableA 03/12/08
|
| Can a trigger be inadvertantly disabled? | 04 Dec 2008 23:03 GMT | 9 |
A customer reported some odd behavior, and it turned out to be because a trigger was disabled. Access to the SQL Server is quite limited, and it seems very unlikely that anyone intentionally disabled this trigger. Is there any way---like if the system has a problem with the ...
|
| Create a seqence of numbers | 04 Dec 2008 22:39 GMT | 13 |
Hi People, I would like to have an sql statement that would return me a simple sequence of numbers, something like this: SELECT * FROM GenerateSequence(1, 4) would simply return
|
| HAVING Min(x) = y inefficiency | 04 Dec 2008 22:18 GMT | 3 |
I was having a problem with a query of the form SELECT a FROM b GROUP BY c HAVING Min(x) = y running very slowly (over 30 seconds). I tried all the usual optimisation tools etc., but no luck.
|
| child procedure--same var as input and output? | 04 Dec 2008 21:30 GMT | 3 |
I have a child proc that takes an input variable as an argument passed from its parent. It optionally modifies it, then I want to pass it back to the parent. Do I have to declare two separate args, one for INPUT and the other for OUTPUT?
|
| how to determine if I'm a valid user in a DB before trying "USE [DBname]"? | 04 Dec 2008 21:06 GMT | 2 |
After numerous unsuccessful searches, I am creating a template file that will allow me to search for a string in each and every sproc, view, or trigger on my server. Unfortunately, though, I'm not a valid user in every database on the server (and there are a lot of databases
|
| How to write query with parameter | 04 Dec 2008 17:11 GMT | 8 |
The cutoff date of my query is current date, but I want to have the cutoff date to be any date that user want. All the getdate() should be @cutoff_date parameter something like that. I don't know how to do that with query (not stored procedure) . I use this query in View. ...
|
| SQL Server Express error in my VS2008 smart client / WCF app | 04 Dec 2008 16:34 GMT | 2 |
After many hours (and days) of trying to get my little smart client / WCF application up and running I finally have come to an error connecting to the SQL Express 2008 on the server from my data access layer. "The server was not found or was not accessible. Verify that the ...
|