Viewing 15 posts - 1,021 through 1,035 (of 1,479 total)
Case statement is not a flow control statement. It is a function that returns a value. In your code you are using it as a control statement that...
April 16, 2009 at 7:39 am
I don’t know why it changed the order of the records, but if it is important for you to get the data in a certain order, you can’t trust the...
April 16, 2009 at 3:53 am
You can use access as a front end. With Access you can attach tables from other databases. You user can grant your user only select permissions and he...
April 16, 2009 at 3:46 am
Check if you have the same set options in the SSMS window as the application has. Some of the set options can produce a different query plan.
Adi
April 14, 2009 at 7:51 am
In the text file that you attached you are using a typed XML. In your XML schema collection and in the XML it self you specify which namespace should...
April 14, 2009 at 12:54 am
Pleas use the URL in my signature and have a look how to post a question in a better way. As for your question. According to the...
April 12, 2009 at 5:52 am
You can run an if exists query on information_schema.rutines that checks if there is a stored procedure with a specific name, but I don’t think that you should. Stored...
April 12, 2009 at 4:40 am
maury.lemons (4/10/2009)
April 10, 2009 at 1:38 pm
The additional code that you write has to come before the code that the log shipping wizard creates. It should look more or less like this:
Declare @dt datetime
Set @dt...
April 10, 2009 at 10:03 am
I’m sorry but I have a feeling that we don’t understand each other (maybe because English is the second language for both of us). Can you try and explain...
April 10, 2009 at 5:42 am
I’m not sure that you have to do it as a job. A job is a scheduled task. It is executed according to the time and date. ...
April 10, 2009 at 4:21 am
Case statement is a function that can have as a result only one value. You are trying the use the case statement as a control flow statement. Here...
April 10, 2009 at 4:16 am
Your query doesn’t match the XML structure that you showed us. My answer is based on the XML that you attached and not on your query. If the...
April 10, 2009 at 2:54 am
Pleas give us more details. Do you want to import it as an XML column or do you want each value to go into a column? If each...
April 10, 2009 at 2:22 am
You can do it with the row_number() function. Partition the data according to status column and order it by state column in descending order. Then you can take...
April 10, 2009 at 2:16 am
Viewing 15 posts - 1,021 through 1,035 (of 1,479 total)