Viewing 15 posts - 271 through 285 (of 443 total)
Mad-Dog (2/1/2010)
it's not working.i get this error - Conversion failed when converting the nvarchar value 'No Data' to data type int.
It won't work, your column is defined as an integer,...
February 1, 2010 at 4:00 am
Run this:
xp_cmdshell 'dir c:\*.exe'
Do you see your executable listed?
January 28, 2010 at 9:51 am
jameslester78-958147 (1/25/2010)
... fed beer and massaged daily.
Ohhhh yesss! 🙂
January 26, 2010 at 7:21 am
eko indriyawan (1/24/2010)
...I use InstallAware to build installer,
...
In that case you might be better off asking your question in the InstallAware forums.
January 25, 2010 at 9:44 am
Mad-Dog (1/23/2010)
I'm working on a report info.
An SQL Reporting Services report, a Crystal Report, or something else...?
It usually better to do this sort of thing in the reporting tool itself.
January 25, 2010 at 9:26 am
Seems that most of your code follows a similar pattern for each of the cursors, so can be replaced by code similar to Lutz's example earlier.
The section marked "xraysID...
January 21, 2010 at 9:26 am
Try this to illustrate Gail's explanation:
SELECT TOP 10 NEWID() FROM sys.objects
January 21, 2010 at 3:58 am
It depends on a lot of things, please post more info on exactly what you are trying to achieve including table structures, example data.
Do you want to use a...
January 19, 2010 at 8:04 am
Slight problem, I think the question is incomplete:
1. In the text the table is referred to 'QOD_Customer' (singular), but in the SQL it is 'QOD_Customers' (plural)
2. There is no mention...
January 12, 2010 at 5:02 am
Here's another idea to add to the pot. Add an ordering column to your table and use ROW_NUMBER to populate it, like this:
INSERT XMLmodelMap(ordering,machineID, machineType, [.... etc ...])
SELECT ...
December 21, 2009 at 2:06 am
First you need to eradicate the cursor by doing your insert something like this:
INSERT XMLmodelMap(machineID, machineType, [.... etc ...])
SELECT
machineID,...
December 18, 2009 at 9:45 am
A variation on arun's solution above with fewer string concatenations:
SELECT
ID, substring(item1,N,charindex(',',item1+',',N)-N)
FROM
tally
CROSS...
December 18, 2009 at 2:25 am
If you provide a table definition and sample data in a ready to use format you're likely to get more help more quickly. See the 'How to post...' link in...
December 15, 2009 at 8:24 am
Sounds overly complicated, can you not just remove the column from the table?
Or delete the expression in the textbox?
December 10, 2009 at 4:59 am
izhar-azati (12/4/2009)
Try:SELECT * FROM #product
WHERE ','+catid+',' like '%,1,%'
Yes, that would do it too. But proper normalization would be better, as Jeff recommends (if possible).
I guess my attempt at humour...
December 4, 2009 at 7:48 am
Viewing 15 posts - 271 through 285 (of 443 total)