Viewing 15 posts - 9,586 through 9,600 (of 18,926 total)
It's always bullet proof when you query the system tables to find information (unless an object is named : ";--drop table dbo.Users").
Anyhow, I'd strongly suggest you read articles on sql injection. ...
July 27, 2007 at 2:12 pm
Never seen or heard of that problem. I don't see how I cna help you at the moment.
July 27, 2007 at 1:54 pm
Use only as a last resort. This is a dangerous tool when used inappropriately.
Search for sql injection for more details.
July 27, 2007 at 1:54 pm
Are you sure that the service is started?
Hwo do you know you are even connected to the server?
July 27, 2007 at 1:48 pm
What's the query you are trying to run?
July 27, 2007 at 1:42 pm
July 27, 2007 at 1:42 pm
You can't do that... and it's really not a good idea to even try to!
What do you need to be able to do exactly?
July 27, 2007 at 1:13 pm
Or another solution, just for the kicks of it.
Select valid data into newtable
truncate oldtable
drop old table
rename new table
you can change the drop rename by and insert if you want to...
July 27, 2007 at 11:58 am
You cannot use the alias name of the column untill the order by clause... or untill the whole query becomes a derived table.
You'll have to rewrite the query to use...
July 27, 2007 at 11:56 am
How would that return a dataset instead of a varchar(?)?
July 27, 2007 at 9:51 am
BTW, you'll need to use >= AND then < (because the 2nd date is at midnight so you'll want to filter that out).
July 27, 2007 at 9:50 am
This should do it (yesterday, tomorrow).
DATEADD(D, -1, DATEDIFF(D, 0, GetDate()))
AND
DATEADD(D, +1, DATEDIFF(D, 0, GetDate()))
July 27, 2007 at 9:38 am
More details on what I'd like to offer : starting from any of these identities (single entity, single id) :
Technicians
Bills of work
Bills (to be paid by our clients)
Contracts
Inventory
Orders for inventory
Clients
go to...
July 27, 2007 at 9:30 am
Viewing 15 posts - 9,586 through 9,600 (of 18,926 total)